Zen Cart Logo
Forums / Addon Templates / Responsive Sheffield Blue v2.0

Responsive Sheffield Blue v2.0

Views: 309,693

Results 1,221 to 1,240 of 1,514
22 Oct 2016, 3:15 PM
#1221
webling avatar

webling

New Zenner

Join Date:
Jan 2012
Posts:
2
Plugin Contributions:
0

Responsive Sheffield Blue v2.0

picaflor-azul:

edit the footer menu in admin--tools--flexible footer menu

You can edit the includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php file to remove the brands.

Thanks,

Anne

Hi,
I love this template. I also would like to remove the BRANDS from the header bar. Could you be more specidic about what needs to be changed in the file listed above? Thanks. I would also like to take the reference to DISCOUNTS out.
Carolyn

25 Oct 2016, 6:29 PM
#1222
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

@Webling

You need to find the section of code that displays the part that you want to remove. There are comments like <!--bof shop by brand --> and <!-- eof shop by brand --> to help you what code is for what. Basically you have to remove what it between the comments but also that first line on line 39

<li class="brands-li"><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>" class="drop"><?php echo HEADER_TITLE_MANUFACTURERS; ?></a><!--bof shop by brand -->

to make it work. Not sure why the comments are placed where they are. It's not all the code that is needed to be removed. Same goes for the Customer Service section. A few more lines of code have to be removed after the <!-- eof customer service -->

</li> </ul>
     </li>

to make it work. Not very intuitive for the not so code savvy. But if you have Notepad++ you can see what code section starts where and ends where on the left side with the plus and minus signs. Hope this helps.

26 Oct 2016, 3:22 PM
#1223
gunni avatar

gunni

Zen Follower

Join Date:
Aug 2010
Location:
Israel
Posts:
287
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

There is another option to "remove" brands and others:

in includes/templates/responsive_sheffield_blue/templates/css/stylesheet.css
arround line 359: .slimmenu li.brands-li{display:none;}

and for hiding it also in mobiles add to the stylesheet.css this:
arround line 362: .slimmenu.collapsed li.brands-li{display:none;}

26 Oct 2016, 10:01 PM
#1224
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

gunni:

There is another option to "remove" brands and others:

in includes/templates/responsive_sheffield_blue/templates/css/stylesheet.css
arround line 359: .slimmenu li.brands-li{display:none;}

and for hiding it also in mobiles add to the stylesheet.css this:
arround line 362: .slimmenu.collapsed li.brands-li{display:none;}

Nice, that seems simpler. Is there no issue with it by just hiding it by css? Is it hidden from search engines that way? Any other advantages to to it one way or the other? Just curious.

26 Oct 2016, 10:44 PM
#1225
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Responsive Sheffield Blue v2.0

mydanilo:

Nice, that seems simpler. Is there no issue with it by just hiding it by css? Is it hidden from search engines that way? Any other advantages to to it one way or the other? Just curious.

Unfortunately, spiders, bots, kiddies, etc... they ignore or tend to ignore the css and read the raw source code. This can be seen by those that in previous versions of the mega menu hid the contact us form on the page, but left all of the contact us content and would receive junk mail and not be able to determine the origin. One look at the source code and it was obvious.

Css is for styling (cascade style sheet) not for content. Content is what people are expected to receive/see. Css is how it is presented.

27 Oct 2016, 6:22 PM
#1226
mydanilo avatar

mydanilo

Totally Zenned

Join Date:
Dec 2004
Posts:
1,024
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

@mc12345678 thank you for clarification. I suspected as much. So removing the code is the way to go for me.

28 Oct 2016, 10:24 PM
#1227
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Hi. I'm just getting into ZenCart and I'm trying templates. I'm trying the Responsive Sheffield Blue template, but the strangest thing occurred. The first time I installed it it looked just like the demo, with three dimensional ribbons and such. I started messing with it, broke something (this is a test area), and so I re-installed ZenCart after wiping out the whole directory. I then re-installed Responsive Sheffield Blue and it looks right except that it doesn't have the three dimensional ribbons and such. I've actually re-install ZenCart a couple times. No luck. Does anyone know what I did or how to return it back to the original look?

Thanks so much.

John

29 Oct 2016, 3:02 AM
#1228
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Did your reinstall also include the database? You mentioned you started changing things and if that includes Admin Settings, perhaps that is where things are not right.

Also, without a link to the site in question we cannot see what you see and are only guessing; which may or may not make replies helpful.

29 Oct 2016, 1:20 PM
#1229
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Thanks for responding. Yes, the first time I actually wiped the database too, and that didn't help, making the mystery even bigger. Sorry, about no link. That makes good sense: http://yanis-maher.com/store.

John

29 Oct 2016, 2:05 PM
#1230
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

So, in the interest of simplifying things, I just wiped the store and database and rebuilt them. I then uploaded and activated Responsive Sheffield Blue. Still no three dimensional qualities to the ribbons (if I have that element identified correctly), like Categories and Documents. Now I'm wondering what I initially did to make it actually work right.

29 Oct 2016, 3:45 PM
#1231
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Responsive Sheffield Blue v2.0

johnemaher:

So, in the interest of simplifying things, I just wiped the store and database and rebuilt them. I then uploaded and activated Responsive Sheffield Blue. Still no three dimensional qualities to the ribbons (if I have that element identified correctly), like Categories and Documents. Now I'm wondering what I initially did to make it actually work right.

The link from your last post looks fine in firefox... so did you dump your browser cache? or refresh the page a few times.

29 Oct 2016, 3:59 PM
#1232
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

davewest:

The link from your last post looks fine in firefox... so did you dump your browser cache? or refresh the page a few times.

I cleared my cache and refresh with Ctrl-R, but no change. Maybe my expectations are off, but the demo site (http://zenlyzen.com/mobile-friendly-zen-cart/index.php?main_page=index&template_switch_id=responsive_sheffield_blue) does not look the same as my site (http://yanis-maher.com/store). (True, I changed the logo, but that is about it.) If they look the same to you then I guess I have a bigger mystery than I thought.

Thanks so much for you help.

29 Oct 2016, 5:13 PM
#1233
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

johnemaher:

I cleared my cache and refresh with Ctrl-R, but no change. Maybe my expectations are off, but the demo site (http://zenlyzen.com/mobile-friendly-zen-cart/index.php?main_page=index&template_switch_id=responsive_sheffield_blue) does not look the same as my site (http://yanis-maher.com/store). (True, I changed the logo, but that is about it.) If they look the same to you then I guess I have a bigger mystery than I thought.

Thanks so much for you help.

I found with this and other Picaflor templates I was WAY better off to make my logo the same size as the demo - changing it to a different size pushes everything else around on the desktop and on the various responsive views.

29 Oct 2016, 5:24 PM
#1234
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

soxophoneplayer:

I found with this and other Picaflor templates I was WAY better off to make my logo the same size as the demo - changing it to a different size pushes everything else around on the desktop and on the various responsive views.

Hopeful that the logo represented the problem, I just changed back to the default template logo, but it still looks the same (although with the template logo).

I even went so far as to download the demo's css files and compare them to the ones on my site. Only one line was different. I changed mine to include that line, but still no effect. I am stumped, but I really want to get this to work.

29 Oct 2016, 6:35 PM
#1235
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

OMG. I figured it out, and I'm sorry to say it's because I had earlier in the day pressed Ctrl-Shift-+ to increase the font size of my browser. That effectively eliminated the three dimensional ribbons. Thank you to those who tried to help me. I basically got in my own way. Sorry to waste your time.

John

29 Oct 2016, 8:41 PM
#1236
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

You presented a problem then provided the steps you took to create/resolve the problem. That is never a waste as others can benefit from it. :smile:

30 Oct 2016, 3:12 AM
#1237
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

Whitebear:

Aaah! I got it... for anyone else in the stylesheet.css you need to have it as:

.slimmenu li.aboutus-li{display:none;}
.slimmenu li.customer-service-li{display:none;}
.slimmenu li.brands-li{display:none;}

and for the mobile side also add this to the stylesheet.css

.slimmenu.collapsed li.aboutus-li{display:none;}
.slimmenu.collapsed li.customer-service-li{display:none;}
.slimmenu.collapsed li.brands-li{display:none;}

I'm trying to remove some elements like brands and about us, but the above does not work. In fact, the brands-li does not appear to be present, so perhaps things have changed since the posting. Can anyone direct me to where these items can be suppressed? (I should be explicit and say that it's the ribbon menu that I'm trying to change.)

Thanks.

John

30 Oct 2016, 12:01 PM
#1238
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

johnemaher:

I'm trying to remove some elements like brands and about us, but the above does not work. In fact, the brands-li does not appear to be present, so perhaps things have changed since the posting. Can anyone direct me to where these items can be suppressed? (I should be explicit and say that it's the ribbon menu that I'm trying to change.)

Thanks.

John

I had a time with this as well. I also tried commenting out the sections in incl/templ/Sheffield/templates/tpl_modules_mobile_catgegory_tabs.php and for some reason that didn't work for me either. I ended up cutting out the entire block dealing with brands. That worked. (In my case I kept the About Us). Just my crude hackery ;o)

30 Oct 2016, 7:03 PM
#1239
johnemaher avatar

johnemaher

New Zenner

Join Date:
Oct 2016
Location:
Massachusetts
Posts:
17
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

johnemaher:

I'm trying to remove some elements like brands and about us, but the above does not work. In fact, the brands-li does not appear to be present, so perhaps things have changed since the posting. Can anyone direct me to where these items can be suppressed? (I should be explicit and say that it's the ribbon menu that I'm trying to change.)

Well, it's quite a hack, but I figured out how to eliminate the "Shop" and "Brand" menu items in ribbon menu. Basically I commented out the html and php for those two items in the file includes/templates/responsive_sheffield_blue/templates/tpl_modules_mobile_categories_tabs.php.

I suspect there's a better way, but perhaps that will help someone as desperate as me.

John

30 Oct 2016, 7:20 PM
#1240
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Re: Responsive Sheffield Blue v2.0

johnemaher:

I suspect there's a better way, but perhaps that will help someone as desperate as me.
John

Hi John, thanks for sharing.
What version of Zen Cart are you using?
What version of Responsive Sheffield Blue V 2.0 are you using?

I'm using Zen Cart 1.5.5a.