Hi Lisa
Try this. I found for some reason needed to lose the under score but can try both ways. https://www.zen-cart.com/content.php?100
Sandria
Hi Lisa
Try this. I found for some reason needed to lose the under score but can try both ways. https://www.zen-cart.com/content.php?100
Sandria
Was wondering is there any way to make the main menu sticky on scroll if open.
Thanks
Sandria
https://www.thedragonskeep.net
I am trying to remove the Header Sales Text in the header (under logo) to bring the rest of the page up by negating the space that this uses - I think I have isolated where to do it but not sure how to edit out - I tried using // to edit out certain lines but then lost the template altogether so I am obviously putting them in the wrong place - I am definitely not a coder so need some help.
cheers, Mike
image is of developer results for HEADER_SALES_TEXTPHP Code:<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<br class="clearBoth" />
<!--eof-branding display-->
Attachment 17208
Last edited by shags38; 8 Aug 2017 at 05:05 AM.
Does this help?
http://www.picaflor-azul.com/easy-he...under-the-logo
Normally one would just edit the language file and change the define for HEADER_SALES_TEXT to:
That SHOULD be enough for 99.99% of cases.Code:define('HEADER_SALES_TEXT', '');
But, in very rare cases where the template author has added additional surrounding divs that are causing other layout issues, you could completely delete it altogether by removing this code:Code:<?php if (HEADER_SALES_TEXT != '') { ?> <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div></div> <?php } ?>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.