Home / Forums / DynamiX Support / Cannot extent some contents to the full-width

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts

  • Dara Svay
    Participant

    Hi,

    I tried to create a yellow div on the top of the site and made it full width but it does not extent across the site.

    Do I not have the right css or this is due to the theme’s limitation?

    Here is the link: http://docwebwp.com/southernvein/

    And here is my CSS:
    #top-navigation {
    width: 100%;
    height: 5px;
    background-color: #DEAD2F;
    margin: 0 auto;
    }

    Dsvay

    Andy
    Andy
    Keymaster

    Hi,

    It’s bound by the Header element. To overcome that, please change the CSS to the following:

    #topbar {
        width: 300%;
        left: -100%;
        height: 5px;
        background-color: #DEAD2F;
        position: absolute;
    }
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.