How to increase the size of the sidebar?

Community Forums Forums General Discussion How to increase the size of the sidebar?

This topic is: not resolved

This topic contains 1 reply, has 2 voices, and was last updated by  braddalton 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35719

    Ted
    Participant
    Post count: 22

    I am currently on the lifestyle theme, and the default sidebar size can only fit in 250px width. How can I increase the sidebar so that it can be at least 300px width?

    #35722

    braddalton
    Participant
    Post count: 7442

    I did this locally by changing the width in the style.css file for the content-sidebar and sidebar classes:

    On line 668

    .content-sidebar #content,
    .sidebar-content #content {
    	padding: 5px 10px 20px;
    	width: 550px;
    } 
    

    And line 1174

    .sidebar {
    	background: #f5f5f5;
    	display: inline;
    	float: right;
    	margin: 0 0 20px;
    	padding: 15px 15px 5px;
    	width: 300px;
    }  
    

    Not sure if this needs to be changed but it works fine:

    #content-sidebar-wrap {
    	float: left;
    	width: 700px;
    }
    

    WordPress Developer & Consultant
    Brad Dalton400+ StudioPress Tutorials & 1200+ Code snippets

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

You must be logged in to reply to this topic.