calamitymax Posted July 17, 2015 Share Posted July 17, 2015 (edited) Hi I'm trying to basically add a slider to my cms pages not just the heading page. I have managed to get it on the cms pages but the styling is different to the index page. Ive worked out that its down to this piece of code here {if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{/if}{if $hide_right_column} hide-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso} {if isset($LEO_LAYOUT_MODE)}{$LEO_LAYOUT_MODE}{/if}{if isset($USE_FHEADER) && $USE_FHEADER} keep-header{/if} {if isset($LEO_HEADER_STYLE)} {$LEO_HEADER_STYLE}{/if} as when its removed the styling of the header on the index page looks the same as the other cms and product and blog pages. Does anyone have an idea of what i need to include to get the header to be the same on the cms pages as the index page. Thanks Edited July 17, 2015 by calamitymax (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted July 18, 2015 Share Posted July 18, 2015 It seems you're using a Leo theme. Anyway, can you share your site's url? There might be (or lacking) some css in either of them Link to comment Share on other sites More sharing options...
calamitymax Posted July 18, 2015 Author Share Posted July 18, 2015 yep the testing url is http://quirkly.co.uk/index.php thanks Link to comment Share on other sites More sharing options...
vekia Posted July 18, 2015 Share Posted July 18, 2015 #page #header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; } use this somewhere in your stylesheet file Link to comment Share on other sites More sharing options...
calamitymax Posted July 20, 2015 Author Share Posted July 20, 2015 Thanks! that seems to have done the trick, i should have known it was something so simple! There is a full black block which appears on the cms pages but not the home page? Link to comment Share on other sites More sharing options...
NemoPS Posted July 20, 2015 Share Posted July 20, 2015 What do you mean by full black block? The one, with say, the Information text? Link to comment Share on other sites More sharing options...
calamitymax Posted July 20, 2015 Author Share Posted July 20, 2015 The one at the top which says welcome guest, login etc. On the home page it fits within the container, but on the cms pages its 100% width Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now