Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #458717

    Hi,

    In a topic a few days ago, you helped me out with the width of columns, see https://kriesi.at/support/topic/backgroundmargin-problem/

    That works fine, but I’m having a related problem. I want the same width of the sidebar on other pages, including on posts and categoriepages. I’ve tried to edit the the width, paddings and margins, but I don’t get the same result. Also tried to change the width/sidebar setting in theme-settings, this is the best result. You can see what I mean at http://bit.ly/1Bt32Rd there is the sidebar different as on home, on home it is right.

    Hope you can help me.

    Regards,

    Erwin

    • This topic was modified 9 years, 5 months ago by Erwin.
    #459743

    Hey erwin_m!

    try this:

    .sidebar {
    right: -20px;
    }
    main.template-page.content.av-content-small.alpha.units {
    margin-right: -3px;
    }
    

    and adjust as needed.

    Cheers!
    Andy

    #459746

    Hi Andy,

    That works fine for the sidebar, thanks!
    Now I would like that the distance to the content-field would be decreased. So that the distance is equal to the distance at the top. Is this also possible? Tried already to adjust some values in your code, but this doesn’t help me.

    Regards,

    Erwin

    #460964

    Hey!

    not sure what you mean. Please show us screenshots showing what you want to achieve.
    Do you mean decreasing the space between header and content? if yes use this code:

    main.template-page.content.av-content-small.alpha.units {
    margin-top: 8px;
    }
    

    and adjust as needed.

    Best regards,
    Andy

    #461005

    Hi Andy,

    Thanks for your answer. But this is not what I mean. In my screenshot I’ve attempted to show that the space between the content and sidebar is to big, and the sidebar is to small. This is in relation to the homepage.

    screenshot

    Hope this is obvious, otherwise, I would like to hear it!

    Regards,

    Erwin

    #461400

    Hi!

    Please add following code to Quick CSS as well

    .sidebar_right .inner_sidebar {
      margin-left: 0px;
    }

    I see that you are using widget area element to display your widgets. If that does not help, please use that solution

    Best regards,
    Yigit

    #461514

    Hi Yigit,

    I’ve tried it, it does change. But it doesn’t give me the total solution.

    The content div looks to be to big. And the sidebar to small. The space between them is now correct. How can I adjust the content div and the sidebar? The content of the homepage has an padding-right on the first two columns. And the background is transparent.

    Regards,

    Erwin

    #461861

    Hey!

    You can increase the content / sidebar ration on Enfold > General Styling > Dimensions > Content | Sidebar Ratio. Increase the sidebar percentage.

    Cheers!
    Ismael

    #462067

    Hi Ismael,

    That did it. Thanks!

    Already tried out the ratio in an earlier stage, didn’t thought of it now.

    Regards,

    Erwin

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘edit margin and with of the sidebar’ is closed to new replies.