Minimum 2 100% on homepage only?

Community Forums Forums Design Tips and Tricks Minimum 2 100% on homepage only?

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  notfarnow 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18252

    notfarnow
    Participant
    Post count: 18

    Hi, I’d like to make the Minimum 2.0 homepage full width and 100% wide to stretch
    to the full browser window. I’ve done this successfully by changing:

    .wrap {

        margin: 0 auto;
        width: 1140px;

    }

    to

    .wrap {

        margin: 0 auto;
        width: 100%;

    }

    But it affects all the other pages (obviously). How do I se it to only
    affect the homepage?

    Is this the best way to do what I’m trying to achieve?

    Thanks!

    #18295

    Hard Boiled Greg
    Participant
    Post count: 88

    Try adding the body class of .home before .wrap ie:

    [css][/css].home .wrap {
    margin: 0 auto;
    width: 100%;
    }

    Hard Boiled Greg


    Website: Hard Boiled Greg Twitter: @hbgreg

    #18300

    notfarnow
    Participant
    Post count: 18

    BINGO! I got it working with this:

    .home .wrap {
    width: 100% !important;
    }

    Thanks Greg. Keep Boiling!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.