not sure on how to edit a certain page's theme.. (9 posts)

  1. camworld
    Posted 10 years ago #

    hey all, thx for help in advance.

    I'm working on http://cammog91.ca.funpic.org/wordpress/ right now and while I have the front page worked out perfectly for myself, when you click on a comment or permalink to any article, it goes screwy.. what part of the template is that? I cant seem to find what to edit for that page.. The comment part seems to just be the bottom and i just dont know where i can add a container for the whole thing..

  2. Joni
    Posted 10 years ago #

    Did you style the comments template (and archive template, if the theme has one) files? I bet that's it. (Look under Manage, Presentation, then choose the theme you want to edit.)

    Update: I see that when you click to leave a comment, that page is missing its Container and Main divisions. That is the problem. You just need to root around in your templates and figure out how to be sure that the main page structure is included in the comments.

    Why don't you go to your WP Dashboard and list the templates you see under Presentation? Then we can figure out which one is probably the one that needs to be edited.

    Nice design, BTW!

  3. camworld
    Posted 10 years ago #

    'camerons' theme files

    * Stylesheet
    * 404 Template
    * Archive Template
    * Archives
    * Comments Template
    * Popup Comments Template
    * Footer Template
    * Header Template
    * Main Template
    * Links
    * Page Template
    * Search Template
    * searchform.php
    * Sidebar Template

    I think it is comments template, although, can I make the comment box in its own window.. like just discussion, no real layout.. how do i use this "popup comments template"?

    I know its missing the container divs.. but my problem is I have no idea where to put them in for those specific permalink/commenting pages.. il try a few things and then check back.

    One last thing, glad to hear you like my design!

  4. James Huff
    Volunteer Moderator
    Posted 10 years ago #

    can I make the comment box in its own window.. like just discussion, no real layout.. how do i use this "popup comments template"?



  5. camworld
    Posted 10 years ago #

    Thank you, you guys are great. Il be messin with this feature for a while.

  6. Joni
    Posted 10 years ago #

    Cam, I think you need to muck around in the Archive Tempate (not Archives). Because when you click on the link to post a comment, it takes you to a single page where the article (and any comments) is displayed. I think this is the Archive Template. Try there. And be sure to return here and post your solution so others can benefit from the head-scratching!

    Good luck.

  7. camworld
    Posted 10 years ago #

    However, thats not the case anymore becuase I made it so it uses the pop-up template, not the permalink page thing.

    Il post what I have done, when im done.

  8. camworld
    Posted 10 years ago #

    First off, thank you everyone for your help so far. I'm now working on my popup comments template.

    Quick question.

    I want to be able to color every other comment box color A and all the others color B, but I cant seem to do that. Instead of every-other one it seems to be simply counting so you can apply special styles to special comments. This is the code for each comment.

    <ul id="comment_list">

    --- start loop ---

    <li id="comment-<?php comment_ID() ?>">

    --- repeat ---

    So how do I change this to say, the box's id is either comment-even, or comment-odd instead?

  9. ifelse
    Posted 10 years ago #

    <li id="comment-<?php comment_ID() ?>">

    <li id="comment-<?php comment_ID() ?>" class="<?php if ((get_comment_ID()%2)==0){echo "alt";}?>">

    Then add a style for the alt class in your style.css file e.g.

Topic Closed

This topic has been closed to new replies.

About this Topic