Need little help with Wordpress please!

4 replies
  • WEB DESIGN
  • |
Hey everone I'm trying to remove that middle section where the banner is on the following site:

HCG Diet Weight Loss | The hcg diet is ideal for helping you lose weight quickly.

but as I remove that section the right section gets close to the article and on the right side there is an open space how do I get rid of that middle section and have a bigger space for an article there? Download the template from:


WordPress › Yoko « Free WordPress Themes
#wordpress
  • Profile picture of the author Istvan Horvath
    That theme has 2 sidebars. (Look once again at the original you linked to).

    The vertical banner (if we are talking about the same thing) is in that first, narrower sidebar.

    Since you had to ask... it means you can not remove it: it requires redesigning the content and sidebar area.

    Get another theme without the second sidebar.
    Signature

    {{ DiscussionBoard.errors[4183473].message }}
    • Profile picture of the author erbuc
      Do you mean you want to remove the banner all together?

      If you go into the CSS file, look for this line:
      Code:
      .head-img {
      It is at about line 147 in the file.
      Just after that line, add this:

      Code:
      display:none;
      That will remove the banner.
      {{ DiscussionBoard.errors[4188707].message }}
      • Profile picture of the author mojojuju
        Originally Posted by erbuc View Post

        Do you mean you want to remove the banner all together?

        If you go into the CSS file, look for this line:
        Code:
        .head-img {
        It is at about line 147 in the file.
        Just after that line, add this:

        Code:
        display:none;
        That will remove the banner.
        The downside to this hack is that it doesn't remove the banner from the HTML source. Even if you hide a banner by using display:none, the banner is still referenced in the HTML source. A web browser will download this file when the page loads, despite the fact that it won't be displayed on the screen. In this case the banner image is 174 kb. That's a lot of unnecessary dead weight that must be downloaded every time somebody visits the page. Better to just keep the banner from being mentioned in the HTML source. At the very least, just comment it out.
        Signature

        :)

        {{ DiscussionBoard.errors[4188893].message }}
        • Profile picture of the author erbuc
          Yes Mojojuju, very correct on all counts. I would normally not suggest such a "hack" as I did here for the same reasons you have pointed out.

          I was taking a more pragmatic approach and had assumed the person asking was a bit nervous about editing the code of their theme.
          {{ DiscussionBoard.errors[4189161].message }}

Trending Topics