Support » Theme: Responsive » Change template width

  • 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • 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.

    Moderator Andrew Nevins

    (@anevins)

    Forum moderator

    Are you sure maximum-width is a CSS property?

    Oops!

    That CSS should be:

    #container {
    max-width: 1176px;
    }

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

    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.

    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.

    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.

    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.

    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.

    You should ask on Responsive’s forum here:

    Responsive

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

    Thanks WPyogi, I’ve done that.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Change template width’ is closed to new replies.