How can I change the content to appear in one col

Hot WordPress Themes Support Forum WordPress Themes Clinic How can I change the content to appear in one col

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #660
    Viv Rayner
    Participant

    I have adapted this theme for my use but have only made changes to CSS.
    On my home page there is one blog item I want to appear but it is restricting itself to half the content area and I don’t know why.

    The layout builder clearly has the content across the remaining width. See attached.

    I tried to change the home page to be a static page instead of a blog and it did the same thing.

    How do I control the home page content area and force the content across the whole remaining width.
    Thanks
    Viv

    #1721
    milos
    Moderator

    Hi Viv,

    You can edit this file /wp-content/themes/wp_hot_clinic/main.php and change this part:

    Code:
    if(is_front_page()) {
    $NUMER_OF_POST_COLUMNS = 3;
    }else{
    $NUMER_OF_POST_COLUMNS = 1;
    }

    to this:

    Code:
    if(is_front_page()) {
    $NUMER_OF_POST_COLUMNS = 1;
    }else{
    $NUMER_OF_POST_COLUMNS = 1;
    }

    Thanks
    Milos

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.