Forums

Page template width (2 posts)

  1. globalmacroblog
    Member
    Posted 1 month ago #

    Hi, I want to create a page template that does not have a sidebar.
    I created a new template called bio.php, where I removed where it calls the sidebar and added this above the header:
    <?php
    /*
    Template Name: Bio
    */
    ?>

    This removed the content in the sidebar, but the divider was still there and the width of the content remained the same.

    In a tutorial on the web they recommended to "You’ll probably also want to find your content div and manually add a width style to it to extend the width to fill the entire container."

    My question is how do you do this (and remove the divider) ?

    Thanks,

    KM

  2. esmi
    Member
    Posted 1 month ago #

    That depends upon your theme. You need to look at creating a new class for your main page content and then use CSS to define a new width for this class.

    CSS Tutorials
    Learning CSS

Reply

You must log in to post.

About this Topic