WordPress.org

Ready to get started?Download WordPress

Forums

blix theme problem (5 posts)

  1. ssdesign
    Member
    Posted 8 years ago #

    Hi,
    A friend of mine has installed Blix theme and is facing some problem.

    I am trying to help him with that but not able to figure out how.

    Here is the URL:
    http://www.mayurkarnik.com

    The problem is, everything looks good at first, but when you click any entry to view the detailed post (especially the ones with larger images inside), you can see that there is a vertical line which appears.

    I would like the detailed post page to not have this narrow layout and the post should extend till the right edge of the design.

    Can someone tell me what part of blix template needs to be changed so that in the detailed post, the table extends till the edge and no divider image is shown.

    Any help is greatly appreciated.

  2. ladydelaluna
    Member
    Posted 8 years ago #

    the divider image "vertical line" is (i believe) part of the sidebar that's included.

    so you're going to have to edit the .php file (I'm thinking it's "archive.php" or something similar) that is used by single posts/pages and then edit the css for that as well, so that the sidebar is removed and the text "area" is sized to fit the whole section.

    obviously you'll need to know CSS and a little about using wordpress themes in order to do this, so I'm assuming you do - if you don't, please post back, and we'll try to help you a little more.

  3. ssdesign
    Member
    Posted 8 years ago #

    Hi,
    Thanks for your reply.

    The sidebar was alredy disabled.

    There is a .php file for single post, there also I disabled the sidebar. Still the layout does not expand to the right :(

    Any other guess??

  4. ladydelaluna
    Member
    Posted 8 years ago #

    once you've disabled the sidebar, you have to change the dimensions in the CSS file so that the content for a single post stretches to the edge...

  5. ssdesign
    Member
    Posted 8 years ago #

    Hi,
    I figured it out.

    The poblem was the way BLIX theme has been visualised.

    The designer of the theme expected the user to have a sidebar on all pages, even on a single post page and hence the PHP code for 'header' had this line:

    <body><div id="container"<?php if (is_page() && !is_page("archives")) echo " class=\"singlecol\""; ?>>

    Which means that for anything apart from a PAGE which is NOT ARCHIVES the DIV class will be 'container'.

    Which I had to modify to:
    <body><div id="container"<?php if (is_page() && !is_page("archives") || is_single()) echo " class=\"singlecol\""; ?>>

    Now it works fine.

    Hope this analysis will help someone else as well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags