• janetroygraphicdesign

    (@janetroygraphicdesign)


    My site uses a sidebar on the front page (set to display the portfolio). My goal is to eliminate the sidebar on individual portfolio posts (.single-portfolio) and increase to full-width.

    I have removed the sidebar from the individual portfolio posts by:
    Removing <?php get_sidebar()i ?> from single-portfolio.php

    I then added code .single-portfolio #content { max-width: 100%; float:none; }
    to the styles.css

    The sidebar is successfully removed from the individual portfolio posts, however, the content doesn’t fill full-width (it still behaves as if the sidebar were there, though invisible). Thoughts?

  • The topic ‘Sidebar on portfolio front page, hidden on single portfolio page’ is closed to new replies.