Reduce Sidebar Width

Home Forums All Other Themes Reduce Sidebar Width

This topic contains 4 replies, has 2 voices, and was last updated by  Forum Moderator 1 year, 6 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #72538

    Dan
    Member
    • Topics: 6
    • Replies: 9
    • Total: 15
    Member since: December 27, 2016

    Guys,

    Using Clean Pro. I wanted to reduce the width of the sidebar widget down which I did successfully (used the code from this post: https://www.sktthemes.net/forums/topic/inner-page-header-image/#post-69703).

    I now have a huge gap between the sidebar and the content (both pages & woocommerce) and I want to shift the content over to the left to get it closer to the sidebar. Any ideas?

    Here’s a product page with an example:

    #11 Contour Blade

    Thanks,

    Dan

    #72554

    Forum Moderator
    Member
    • Topics: 0
    • Replies: 18251
    • Total: 18251
    Member since: August 16, 2013

    H,

    Kindly go to Appearance>>Theme Options>>Basic Settings>>Custom CSS Box:

    Add this code there:

    .site-main.woocommerceleft { width:80% !important;}

    Regards,
    Chris

    #72619

    Dan
    Member
    • Topics: 6
    • Replies: 9
    • Total: 15
    Member since: December 27, 2016

    Great. And I could do the same for other pages as well? Say the home page would look like:

    .site-main.homeleft { width:80% !important;}

    Ideally if there’s code to shift all the page content over like that it would simplify life each time a page gets created.

    Thanks again

    #72657

    Forum Moderator
    Member
    • Topics: 0
    • Replies: 18251
    • Total: 18251
    Member since: August 16, 2013

    Hi,

    Kindly use for all pages:

    .site-main { width:80% !important;}

    Regards,
    Chris

    #72658

    Forum Moderator
    Member
    • Topics: 0
    • Replies: 18251
    • Total: 18251
    Member since: August 16, 2013

    Hi,

    Kindly use for all pages:

    .site-main { width:80% !important;}

    Regards,
    Chris

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.