Hi all,
Does anyone know how I can hide the left and right columns on just the homepage?
I have a client that has requested that the homepage is a single content column layout and all other pages are 2 column with a left sidebar and the content column.
I have found this in the knowledge base to remove sidebars on the login and profile pages -
Replace {if $left|trim} with {if $left|trim && $controller != ‘profiles’ && $controller != ‘auth’}
Does anyone know how this can be applied to just the homepage?
Many thanks in advance.
[quote name=‘glyndon’]Hi all,
Does anyone know how I can hide the left and right columns on just the homepage?
I have a client that has requested that the homepage is a single content column layout and all other pages are 2 column with a left sidebar and the content column.
I have found this in the knowledge base to remove sidebars on the login and profile pages -
Replace {if $left|trim} with {if $left|trim && $controller != ‘profiles’ && $controller != ‘auth’}
Does anyone know how this can be applied to just the homepage?
Many thanks in advance.[/QUOTE]
Have you tried admin>design>blocks>homepage and disable ALL blocks?
[quote name=‘BarryH’]Have you tried admin>design>blocks>homepage and disable ALL blocks?[/QUOTE]
Oh, I can be such an idiot at times!
I was ready for a day hacking away at code but the blocks are designed to do this sort of thing. It has worked a treat, many thanks Barry.
…and thank you CS-Cart for making life easier…even if it takes a while for it to sink in with people like me.
[quote name=‘glyndon’]Oh, I can be such an idiot at times!
I was ready for a day hacking away at code but the blocks are designed to do this sort of thing. It has worked a treat, many thanks Barry.
…and thank you CS-Cart for making life easier…even if it takes a while for it to sink in with people like me. :)[/QUOTE]
Pleasure. You can depend on me for SIMPLE!!! :rolleyes: Not techy at all.
I’m running into the same basic problem. I need a home page that is missing the right column but still has the left and center. I’ve disabled it in the back end just for the home page which works, but The CSS was all set for have all 3 columns there.
Is there anyway to make the class or div names different for the home page so i can make unique CSS calls to correct the template?
I feel like there is a easier way to do it that i’m missing. Thanks for anyones help!