WordPress.org

Ready to get started?Download WordPress

Forums

Max Magazine
Category Archives full width once removed the sidebar (3 posts)

  1. tommyg10
    Member
    Posted 1 year ago #

    Hi, on my Category archive pages I have managed to remove the sidebar by simply deleting <?php get_sidebar(); ?> from archive php.

    I would now like to stretch the content of each category archive page so that there is no white space.

    How would I go about this?

    Thank you

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    You would need to modify the CSS code that sets the width of the element(s) still on the page. Do be aware, however, that you should never modify theme files directly, but rather use a child theme for your changes. That way, the changes won't be overwritten when the theme is updated.

    http://codex.wordpress.org/Child_Themes

  3. dillsteroo
    Member
    Posted 1 year ago #

    I have a very similar question about changing the featured categories section. When I try to change the CSS to have 3 of them fall onto the same line, it doesn't react as expected.

    When I look through the code, there's a <div class="clear"></div> that seems like is being generated somewhere along the line... also, feat cat 2 is given the class ".right-side" and I can't figure out where... I've looked through the feat-cat2.php and I can't figure out where either the class is being added or where that clear is coming from. (I'm familiar with HTML and CSS but new to PHP)

    My site: http://www.equestrianquarterly.com/blog. Trying to get the three category thumbs on one line.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic