Zen Cart Logo
Forums / Addon Templates / Stirling Grand Responsive Template

Stirling Grand Responsive Template

Views: 141,789

Results 301 to 320 of 527
5 Jun 2014, 12:47 AM
#301
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Stirling Grand Responsive Template

Okay, I am partly answering my own question....I put this code in:

<li><a href="http://www.mywebsite.com/catalog/index.php?main_page=page_3">Events</a></li>

However, the font is not right. How to fix that?

18 Jun 2014, 8:59 AM
#302
cameron14 avatar

cameron14

New Zenner

Join Date:
Jun 2014
Location:
UK
Posts:
14
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

I'm using this template and I added the hide categories module. While it works in the categories sidebox, the "hidden" category still shows up in the drop down menu at the top of the page. Is there a workaround for this?

Attachment 14189

18 Jun 2014, 9:07 AM
#303
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Do you want to use both sidebox category list and mega_menu dropdown? If not, and if you want to use the dropdown, the simplest way would be to hard code your categories in mega_menu as a list. There may be some nice php to bring about the same effect, but I haven't seen it...

18 Jun 2014, 9:21 AM
#304
cameron14 avatar

cameron14

New Zenner

Join Date:
Jun 2014
Location:
UK
Posts:
14
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Thank you for the speedy response! It does seem rather redundant to have the sidebox categories and the nav bar categories. How would I go about hard coding the categories in mega_menu as a list?

18 Jun 2014, 10:02 AM
#305
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

In tpl_mega_menu.php, find

<li class="submenu categories-li" <?php if (MENU_CATEGORIES == 'false') echo "style=\"display:none; \""; ?> ><a href="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_CATEGORIES; ?></a><!-- bof cateories -->
        <div class="dropdown_1column">
            <div class="col_1 firstcolumn">
               <div class="levels">
                   <?php

// load the UL-generator class and produce the menu list dynamically from there
require_once (DIR_WS_CLASSES . 'categories_ul_generator.php');
$zen_CategoriesUL = new zen_categories_ul_generator;
$menulist = $zen_CategoriesUL->buildTree(true);
$menulist = str_replace('"level4"','"level5"',$menulist);
$menulist = str_replace('"level3"','"level4"',$menulist);
$menulist = str_replace('"level2"','"level3"',$menulist);
$menulist = str_replace('"level1"','"level2"',$menulist);
$menulist = str_replace('<li class="submenu">','<li class="submenu">',$menulist);
$menulist = str_replace("</li>\n</ul>\n</li>\n</ul>\n","</li>\n</ul>\n",$menulist);
echo $menulist;
?>
</div>
</div>
</div>
</li><!-- eof categories -->

and replace the <div class "levels">...</div> with <ul class="levels">....</ul> from the "quicklinks-li" above it, ie the first item in the mega menu. Then replace each <li> link - the a href="...." content with your links to your categories, and <?php echo whatever; ?> with your category name. Where your category name replaces 'whatever'. So you will end up with a list of your categories replacing the current dropdown list. Back up your tpl_mega_menu.php before you try it.

I hope that makes sense.

18 Jun 2014, 10:15 AM
#306
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Oh. Before you remove the sidebox category list, use it to collect the links to the categories you want to display in the mega menu. Then turn off your sidebox. Adding categories is simply adding more <li>'s.

18 Jun 2014, 10:27 AM
#307
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Oh god. Sorry. Not where your category name replaces 'whatever'. You category name should replace

<?php echo HEADER_TITLE_CATALOG; ?>

where 'whatever' refers to the bit in upper case in each of the <li>'s. So just replace the whole

<?php echo whatever; ?>

with your category name. Sorry. It's getting late.

19 Jun 2014, 9:02 PM
#308
cameron14 avatar

cameron14

New Zenner

Join Date:
Jun 2014
Location:
UK
Posts:
14
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Thank you!!

19 Jun 2014, 10:58 PM
#309
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Glad it worked. Sorry about the three-part explanation.

20 Jun 2014, 3:22 PM
#310
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Stirling Grand Responsive Template

CookieMonster:

Okay, I am partly answering my own question....I put this code in:

<li><a href="http://www.mywebsite.com/catalog/index.php?main_page=page_3">Events</a></li>

However, the font is not right. How to fix that?

You can add css to fix the link, or add the same class/classes that is on the other li items so that they all look the same.

Thanks,

Anne

20 Jun 2014, 3:23 PM
#311
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Stirling Grand Responsive Template

Cameron14:

Thank you!!

I am happy that you got everything sorted out ;)

Thanks,

Anne

20 Jun 2014, 3:24 PM
#312
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Stirling Grand Responsive Template

godt:

Glad it worked. Sorry about the three-part explanation.

Thank you so much for helping out on the thread while I was away on an internet free vacation for a few days ;)

Thanks,

Anne

21 Jun 2014, 7:48 AM
#313
godt avatar

godt

Zen Follower

Join Date:
Mar 2006
Location:
Melbourne, Australia
Posts:
378
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

I know about the need for an internet free vacation. Happy to do something to minimise the pile on your desk when you got back. (The problem with holidays...)

26 Jun 2014, 9:56 PM
#314
micro007 avatar

micro007

New Zenner

Join Date:
Jan 2008
Posts:
43
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

Hello again, not sure if this has been asked but I don't have enough slides to place in the slideshow inside stirling grand. If I take it down to one image it does weird stuff, so I would like to put a lone image in it's place. Is that call out in a php file. If so, could you name the file for me please? Thanks ahead of time!

26 Jun 2014, 10:14 PM
#315
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Stirling Grand Responsive Template

micro007:

Hello again, not sure if this has been asked but I don't have enough slides to place in the slideshow inside stirling grand. If I take it down to one image it does weird stuff, so I would like to put a lone image in it's place. Is that call out in a php file. If so, could you name the file for me please? Thanks ahead of time!

The call for the slide show is in includes/templates/stirling_grand/common/tpl_header.php

Thanks,

Anne

27 Jun 2014, 6:44 PM
#316
micro007 avatar

micro007

New Zenner

Join Date:
Jan 2008
Posts:
43
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

picaflor-azul:

The call for the slide show is in includes/templates/stirling_grand/common/tpl_header.php

Thanks,

Anne

Thanks for the quick reply, I really appreciate it. I went ahead and created another banner which turned out pretty cool. Site not done yet but it's getting there..... bangorang.com/store Again thanks for the free template and help. Makes this old submariners job easier!!

... micro

28 Jun 2014, 4:23 AM
#317
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

When I upload a product image and then click on "larger image," it isn't large enough, even though the file I uploaded is 750 pixels long. It is maybe about 1/4 of that. Which file do I need to modify to make the "larger image" larger?

Thanks! :-)

28 Jun 2014, 12:45 PM
#318
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Stirling Grand Responsive Template

CookieMonster:

When I upload a product image and then click on "larger image," it isn't large enough, even though the file I uploaded is 750 pixels long. It is maybe about 1/4 of that. Which file do I need to modify to make the "larger image" larger?

Thanks! :-)

rbarbour just posted a fix for this to this thread. If you read the thread you will find it.

Thanks,

Anne

28 Jun 2014, 6:57 PM
#319
cookiemonster avatar

cookiemonster

Zen Follower

Join Date:
Apr 2013
Location:
Wisconsin
Posts:
134
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

picaflor-azul:

rbarbour just posted a fix for this to this thread. If you read the thread you will find it.

Thanks,

Anne

Thank you, Anne & rbarbour! Sorry I did not see this when first looking through the thread.

30 Jun 2014, 1:24 PM
#320
darwins avatar

darwins

New Zenner

Join Date:
Jun 2014
Posts:
5
Plugin Contributions:
0

Re: Stirling Grand Responsive Template

hello Everyone, i am new to this site, and web design

i am trying to set up a small online shop and i have a problem, i have tried googling it, but so far i cant find the answer

i am using zen cart with Stirling Grand template installed, it took me a while as i am very new

i followed step 8 of the guide about adding a logo to my site, and i now have the logo on the site, but it seems it has moved other parts of the site around in the process, is there a maximum height that a logo can be?, as mine is currently 302px wide by 150px high, i also changed the sizes on the CSS as the guide said.

would someone be kind enough to help me with this please? if please explain in very simple terms, i cannot stress enough how poor my knowledge is at the moment :)

thanks for reading

Attachment 14219