| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
XC5 Homepage layout | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
XC5 Homepage layout
How would I go about changing the homepage only to make it full width? (ie. no left nav on the homepage)
In XC4 it could be acheived with some if statement in the smarty template, but I am not so familiar with the XC5 structure. Any advice would be helpful.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Hi Richie!
You can achieve it by installing this tiny mod, I've just written: https://dl.dropboxusercontent.com/u/23858825/Tony-HomePageWithoutSidebar-v5_0_0.tar After you install it, you will have to tweak CSS styles in order to expand the central area to the full width. |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Great I will give it a go now! Thank you
__________________
Richard Ultimate 5.4 testing |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Stuck with 3-grid table products. Is there a setting for the amount of columns or an adjustment?
__________________
Richard Ultimate 5.4 testing |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
The css I can adjust, but the way you edit in the css in look and feel section, means that it will appear the same for the whole website. Therefore the categories I can make 100% width, but then the subcategories will not float to the left with 100% width.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Sorry, but there is no setting of defining how many columns should be displayed, but this appearance option can be altered by the mod.
As for CSS rules for the home page only, you can alter the classes/XLite/Module/Tony/HomePageWithoutSidebar/View/Content.php viewer and define there the following method: Quote:
and X-Cart 5 will load this CSS file only for homepage. Of course, in this case, you will need to create the skins/default/en/modules/Tony/HomePageWithoutSidebar/css/css.css file with needed rules. |
|||||||||
|
#7
|
|||||||
|
|||||||
Re: XC5 Homepage layout
hi thanks tony,
it's really good , may i know what about if i want to show some pages links instead of categories on home main center area? i want to show some special pages Links on home main center area instead of categories thanks
__________________
5.0.10 |
|||||||
#8
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
I think you could do that by editing the content in Catalog > frontpage. You could hide the categories with some css. Although its not the ideal solution, hopefully there will be a setting soon to hide categories manually.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#9
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Quote:
I could not get it to work after updating the cahce the css did not appear in the homepage, do you have the full Content.php file please.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#10
|
|||||||||
|
|||||||||
Re: XC5 Homepage layout
Quote:
Yes, RichieRich is right, you can achieve it by editing the Front page in admin area. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|