Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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!
    C

    #209809

    Hi 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,
    Yigit

    #209900

    Thanks 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!!

    #209923

    Hi!

    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,
    Ismael

    #209925

    Ok – thanks. It was worth a try!
    C

    #209926

    Hi!

    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,
    Ismael

    #209938

    hmmm… thanks for trying, but this didn’t do it either.
    No worries – I will just adjust my design!
    Your time is appreciated!
    C

    #209941

    Hi!

    Alright, it does work on my end though. :)

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Boxed layout on some pages and not others…’ is closed to new replies.