1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Category page in WP broken page

Discussion in 'WordPress' started by drew68, Mar 8, 2011.

  1. #1
    can someone just point me in the right direction with this?

    http://gawkernews.com/

    if you click on celebrity news or gossip in the main navigation, the page breaks. there should be 3 columns there just like the home page.

    all the other pages seem to be filling in right except for that page.

    the hotgoss-theme was purchased...and all the widgetry came with it.

    any idea why those category pages are messed up?

    thnx
    drew
     
    drew68, Mar 8, 2011 IP
  2. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The Home page is using its own template. Possibly home.php or front.php.

    That's the way the category template is laying it out. Technically you have a two-column layout. The right column is inside the middle column div. Move the portion in red to follow the middle column.

    
    <div id="layout-inner">
       <div class="layout-inner-left">
       </div>
       <div class="layout-inner-middle">
    [B][COLOR="red"]      <div class="layout-inner-right">
          </div>
    [/COLOR][/B]   </div>
    </div>
    
    Code (markup):
     
    Dodger, Mar 8, 2011 IP
  3. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #3
    thanks dodger...well i figured the problem was in the category.php file ...not the home.php because the category pages are being broken. i've copied it below...i really can't see where i can "move the portion in red" being that there's already a layout-inner-right already there.


     
    drew68, Mar 8, 2011 IP
  4. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hmm. It appears that there may be a file for that middle column and the right column. There should be a sidebar template file for "Inside Column" and "Side Column". Not sure what the names of the files are. If I knew what theme you are using, that would help. The main thing is to move the code from one file to the other. It is also possible that these sidebars are registered elsewhere, and may be run a function to generate them.
     
    Dodger, Mar 8, 2011 IP
  5. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #5
    well the template is hotgoss-theme ...

    i'll take a peak at it in a bit. you'd think after purchasing it, it'd come functional without these types of mishaps :(
     
    drew68, Mar 8, 2011 IP
  6. drew68

    drew68 Well-Known Member

    Messages:
    582
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    128
    #6
    dodger...someone else mentioned there was an error...this is what he said...

    ...but what page would that be in? the category.php file? i looked and i couldn't find <!-- END OF WRAPPER --> anywhere
     
    drew68, Mar 8, 2011 IP