• Hi all – I’d like to set a custom width to the header and slider, so that they match the current page and footer widths. I’d like to do this so that 1. I can put a background behind the page and 2. so that the tagline above the navbar is always aligned with the last menu item.

    Any custom CSS to achieve this?

    Thanks!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • For the slider, try this:

    #customizr-slider {
            max-width: 1170px;
            margin-left:auto;
            margin-right:auto;
            }

    For the header, rdellconsulting’s the expert…

    Thread Starter cari.h.cayton

    (@carihcayton)

    Great – thanks! rdellconsulting, any update?

    Thread Starter cari.h.cayton

    (@carihcayton)

    I tried:
    .row-fluid.span9 {
    margin-right: 0 auto;
    margin-left: 0 auto;
    max-width: 1170px;
    }

    with no luck

    I think the ‘custom width’ idea is misleading you.

    OK, let’s break it down:

    Step 1: Add a Background. Try this Snippet

    Step 2: Need a link to your site to get this right. From the link above, you should try:

    .inside.site-description {
    margin:         0% 0% 0% 0%;
    }

    The significance of the margin code is to move in the order:
    top-right-bottom-left so you probably need to adjust the 2nd 0% to push the Tagline around. +1% will move right-left, -1% will move left-right. You can also use 0px instead of 0% but that might cause extra problems when you consider how it looks on smaller devices.

    The snippets are new, so this is a good experience to find out if they’re doing what is needed.

    Thread Starter cari.h.cayton

    (@carihcayton)

    I suppose I was thinking more along the lines of this site:
    https://thegooddog.net
    where all info is inside one area (yet still grows and shrinks with the window size)
    I used the snippet and info above so it’s now REALLY RED and it looks like it centered my tagline.

    @cari.h.cayton: this will center your header.

    .row-fluid .navbar-wrapper{
    float:      none;
    margin:     0 auto;
    width:      90%;
    }

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Set custom width to header and slider’ is closed to new replies.