- This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forums › Pro Themes › Education Hub Pro › Primary Sidebar Width
Tagged: sidebar width
Hello,
Could you please tell me how to increase the width of the primary sidebar? I would like to increase the width so that my event time does not wrap to the second line. My website is below.
http://03a9a0a.netsolhost.com/stjosephschool/
Thank you for any help you can provide!
@stjosephschool, thank you for using Education Hub Pro theme.
You can tweak this requirement through custom CSS code as given below :
.home #primary {
width : 70%
}
.home #sidebar-primary {
width: 28%;
}
Please paste the above code in Appearance -> Customize -> Theme Options -> Advance Options -> Custom CSS
Write us back if you still have any issue.
Best Regards,
Thank you – that worked perfectly!
I did have one additional question. Could you tell me how to change the background color of the primary sidebar to white? Thank you!
Again, my website is:
http://03a9a0a.netsolhost.com/stjosephschool/
Thanks!
Sure. You can edit (or replace) the above second part of the code to add the background color and inner padding css property like the one given below.
.home #sidebar-primary {
width: 28%;
background: #fff;
padding-top: 25px;
}
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |