Change Sidebar Width on Only One Page (2 posts)

  1. jkgray
    Posted 3 years ago #

    Is it possible to change the sidebar's width on only one page (my homepage)? I'm trying to add some facebook / twitter widgets that are too wide and cannot be resized to fit the sidebar's current settings. For example, Facebook's plugin has a minimum width of 292px. However I only want to make this change on the homepage.

  2. Caroline Moore
    Theme Author

    Posted 3 years ago #

    Yes, you can target only your home page using the body class, home.

    So something like this will change the width of the sidebar on the home page only:

    .home #secondary {
       width: ###px;

    Note you may need to adjust the widths of the other content areas/wrappers as well for everything to display properly.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic


No tags yet.