WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
Change template width (11 posts)

  1. lolo_salto
    Member
    Posted 1 year ago #

    Hi,

    First of all I would like to thank you for this template which is really nice and adjustable as I need.

    I just need to re size the main wrapper of the website and the right sidebar, the container (content-blog) will take the width dependent of the main wrapper fixed minus the sidebar.
    Could you tell me which properties do I have to change in order to keep the responsiveness of the website?

    Thank you in advance.

  2. Francis Penny
    Member
    Posted 1 year ago #

    Should be as easy as modifying the maximum width of the container.

    So, in your child theme, insert this:

    #container {
    maximum-width: 1176px;
    }

    I hope that helps.

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you sure maximum-width is a CSS property?

  4. Francis Penny
    Member
    Posted 1 year ago #

    Oops!

    That CSS should be:

    #container {
    max-width: 1176px;
    }

    You can, of course, change 1176px to whatever width you desire.

  5. Francis Penny
    Member
    Posted 1 year ago #

    Oh, if you want the footer to match the width of the container then you should add #footer to the change noted on the container.

    Looks like a good template. I have not toyed with Responsive until today.

  6. lolo_salto
    Member
    Posted 1 year ago #

    Thank you Francis for your answer.

    I've already done that on my child theme, but my problem is to size to a specific value the container AND the right sidebar.

    My right sidebar needs a specific value, and for the moment, its value is proportional to the main wrapper (which is not good for me).

    So how can I give a specific size to my right sidebar (considering the responsiveness of the template)?

    Thanks for your help.

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You can't give a specific size (fixed width) and have it be responsive...though perhaps a minimum width would work. Hard to be of much help with something like this without seeing your site.

  8. lolo_salto
    Member
    Posted 1 year ago #

    Hi WPyogi, you're rihgt, it's hard to help without seeing the website in question, so this is the URL of the website : http://www.investir.ch/v2

    I'm working on it, so maybe I'm doing some tests. But normally, on the right sidebar, you should see an image (which will be advertisement in the future). The ad is 300px width (and impossible to change this, the website has to be adapted to this constraint.

  9. lolo_salto
    Member
    Posted 1 year ago #

    Nobody can help?

    In fact my question should be : Do you know how to specify to the template to use the grid .col-540 for the main content and .col-380 for the right sidebar instead of .col-620 for the main content and .col-300 for the right sidebar?
    And this, without changing all the parameters in each php files.

    Thank you in advance for your help.

  10. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You should ask on Responsive's forum here:

    http://cyberchimps.com/forum/free/responsive/

    They're the ones who know how the theme is set up (I don't know it that well).

  11. lolo_salto
    Member
    Posted 1 year ago #

    Thanks WPyogi, I've done that.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic