Tagged: boxed layout
-
AuthorPosts
-
January 15, 2014 at 1:54 am #209805
Hello – not sure if this is possible, but am I able to have the boxed layout on all pages BUT the homepage? I am keen to use the full screen slider on home page, then just have the following pages boxed.
Thanks in advance!
CJanuary 15, 2014 at 2:02 am #209809Hi carendavis!
In WordPress dashboard please go to Appearance > Editor and open Header.php and find following line
<html <?php language_attributes(); ?> class="<?php echo " html_$style ".$responsive." ".$headerS;?> ">and change it to
<html <?php language_attributes(); ?> class="<?php if(!is_home() && !is_front_page()) { echo " html_stretched ".$responsive." ".$headerS; } else { echo " html_$style ".$responsive." ".$headerS; }?> ">and choose boxed layout in Enfold theme options under Styling tab
Regards,
YigitJanuary 15, 2014 at 8:10 am #209900Thanks for the quick response!
Unfortunately that doesn’t seem to do it though…
The site is as follows: http://tinyurl.com/n3td26x
I would like the first (home) page to stay looking the same, but I would like the other pages to be boxed layout with the homepage image in the background. Is this possible?
Thankyou!!January 15, 2014 at 9:11 am #209923Hi!
I’m sorry but I don’t think it is possible without major css and theme file rewrite. Please hire a freelance developer to modify the theme for you.
Best regards,
IsmaelJanuary 15, 2014 at 9:13 am #209925Ok – thanks. It was worth a try!
CJanuary 15, 2014 at 9:18 am #209926Hi!
I’m not sure if this is going to work completely but please remove Yigit’s code then choose Boxed Layout. Add this on Quick CSS:
.home.boxed .container { margin: 0 auto !important; } @media only screen and (min-width: 1340px) { .responsive_large .home.boxed#top { width: 100%; } } .home #wrap_all { margin: 0 auto; } html.html_boxed { background: white; }Regards,
IsmaelJanuary 15, 2014 at 9:31 am #209938hmmm… thanks for trying, but this didn’t do it either.
No worries – I will just adjust my design!
Your time is appreciated!
CJanuary 15, 2014 at 9:42 am #209941 -
AuthorPosts
- The topic ‘Boxed layout on some pages and not others…’ is closed to new replies.
