This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Change content area width

Open 7 replies themetheme-vantage
10 years ago · Last reply by Daniel 10 years ago

I want to change my left sidebar width and content area width. Increase content area width and decrease sidebar width. I used

#primary {
width: 80%;
float: left;
}
#secondary {
width: 20%;
float: right;
}

on Custom CSS but content area has the same width, nothing changed, only sidebar.

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. Daniel Staff 10 years, 11 months ago

    Hi Katerina,

    I can see you have not included a direct link to your site. Would you mind posting a link to it? It will enable me get you a tested custom CSS .

    Looking forward to hear from you.

  2. katerina Private 10 years, 11 months ago

    This is a private message.

  3. katerina 10 years, 11 months ago

    Hi Addo,

    Thank you for your reply. The site is on localhost so i cant send you in order to look at it.

  4. Daniel Staff 10 years, 11 months ago

    Hi Katerina,

    It’s no problem. You may want to try using the “!important” CSS declarations. Use it to modify your code above like this:

    #primary {
    width: 80%!important;
    float: left!important;
    }
    #secondary {
    width: 20%!important;
    float: right!important;
    }

    Please try and let me know!

  5. katerina 10 years, 11 months ago

    Using this css the content area didnt take the area tha lose the sidebar. There is a space between them that i want to make it smaller.

  6. katerina 10 years, 11 months ago

    Hi Addo,

    i used this code

    .page-template-default #primary {
    float: right;
    width: 80%;
    }
    #secondary {
    float: left;
    width: 18%;

    in order to have space between sidebar and content area. Am i ok? It looks ok!

  7. Daniel Staff 10 years, 11 months ago

    Hi Katerina,

    If it looks ok it means it has worked out for you :-)

    Always feel free to open a new thread whenever you require support.

    Cheers

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread