In the product layout, the reference of the product appears very close to the navigation (previous -- back to list -- next).
How can I increase that distance?
In the product layout, the reference of the product appears very close to the navigation (previous -- back to list -- next).
How can I increase that distance?
open templates > your template > templates > tpl_products_next_previous.php and add some spaces ( ) to this code: in red
<p class="navNextPrevCounter"><?php echo (PREV_NEXT_PRODUCT); ?><?php echo ($position+1 . "/" . $counter); ?></p>
<div class="navNextPrevList"><a href="<?php echo zen_href_link(zen_get_info_page($previous), "cPath=$cPath&products_id=$previous"); ?>"><?php echo $previous_image . $previous_button; ?></a></div>
<div class="navNextPrevList"><a href="<?php echo zen_href_link(FILENAME_DEFAULT, "cPath=$cPath"); ?>"><?php echo zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST, BUTTON_RETURN_TO_PROD_LIST_ALT); ?></a></div>
I found the file "tpl_products_next_previos.php" inside templates/template_default/template.
I've made a copy inside my template directory, replaced the code, and it doesn't work. I've modified the original file, and it doesn't work...
I'm sure I'm forgetting a stupid thing.
.
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.
that was my first idea. I suppose that could be done by adding margin or pading in the stylesheel, but I can't find the correct place in the stylesheet.
Where I should add the padding?
What's the URL to the page where you're seeing the problem?
.
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.
The url for one product:
http://www.joieriaconxita.com/studio...products_id=62
You might try something like this:Of course, change the 20px to a higher or lower number depending on your needs.Code:.navNextPrevWrapper { padding-bottom: 20px;}
.
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.
Ok.
That was the css code to insert.
Thanks a lot!!!
Bookmarks