X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Move the "per page" box (https://forum.x-cart.com/showthread.php?t=58470)

digiemp 03-14-2011 03:31 PM

Move the "per page" box
 
1 Attachment(s)
Hello,

Will someone please tell me how to move the "per page" drop down box and text that appears on category pages. I would like to move it to the row with the rest of the "Sort by" options as seen in the attached image.

Thanks,

qualiteam 03-16-2011 05:15 AM

Re: Move the "per page" box
 
You should add e.g. the following code:
Code:

{if $per_page eq "Y" and $total_items gte $per_page_values.0}
{include file="customer/main/per_page.tpl"}
{/if}

to the "skin/common_files/customer/search_sort_by.tpl" template.

And comment out the per_page.tpl reference in the "skin/common_files/customer/main/navigation.tpl" template:
Code:

{*include file="customer/main/per_page.tpl"*}

digiemp 03-16-2011 06:22 AM

Re: Move the "per page" box
 
1 Attachment(s)
Thank you, that definitely moved the Per page box. But it didn't move the Sort by text over so it displays on top of the Per page box as seen in the screen shot.

ADDISON 03-16-2011 07:29 AM

Re: Move the "per page" box
 
Use Firebug to change CSS proprieties. You have to add a padding-right for Sort by div.


All times are GMT -8. The time now is 05:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.