• https://costaverdeimports.com

    Using a child theme of Twenty Ten.

    For some reason I cannot get the sidebar to remove itself on the home/index page.

    Tired using the one column no sidebar, but that didn’t work so I’ve created a homepage.php page with the <?php get_sidebar(); ?> deleted, but still I get the sidebar. While all of the artwork now fits (much small that it should be) I’m still getting the sidebar.

    I’ve never had this problem before so any help

    Any help would be appreciated.

    Thanks,

    Patti

Viewing 2 replies - 1 through 2 (of 2 total)
  • you might need to use page template specific styles;

    for example:

    .page-template-homepage-php #container {
    	margin: 0;
    }
    .page-template-homepage-php #content {
    	margin: 0 0 0 20px;
    }

    for general formatting problems, using a tool such as Firebug or any similar browser tool might help to investigate which styles you would need to edit.

    Thread Starter drakeblogs

    (@drakeblogs)

    Thanks that worked. I’m remember it for the future.

    Patti

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removal of sidebar on index page’ is closed to new replies.