Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End probably a simple wordpress problem I just don’t know how.

  • This topic is empty.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #39984
    chanman
    Member

    I want to style the posts on my blog but when i click a post and it goes to the posts specific page I want to style it another way. So basically I want the posts list to have a specific class that doesn’t apply to the posts specific page. If you don’t get what i’m taking about i’m sure I can explain it another way.

    #110663
    Paulie_D
    Member

    Do you have a link?

    #110664
    chanman
    Member

    The site isn’t even near being finished but here it is [yardsale.cdcwebdesign](http://yardsale.cdcwebdesign.com “yardsale.cdcwebdesign.com”)

    #110665
    chanman
    Member

    tell me if you need me to post anything in my files such as the loop.php file.

    #110667
    Paulie_D
    Member

    I’m no WP guru but doesn’t your home page / blog list already have a couple of classes (‘home’ and ‘blog’) you could use?

    #110669
    chanman
    Member

    not that i know of. I’m using firebug and the only classes that i see are the default ones.

    #110670
    chanman
    Member

    I’m new to wordpress so I don’t know hardly anything.

    #110671
    Paulie_D
    Member

    Yeah but what I am saying is that those ** body** classes exist (AFAIK) on the page you want to style.

    Can’t you use those to style everything else?

    #110672
    chanman
    Member

    I’m still not getting what your saying.

    #110673
    chanman
    Member

    I just took off the class “yardsale-post” and now go look at all the default classes in the post.

    #110674
    Paulie_D
    Member

    What I am saying is that your blog page has a class on the body of ‘blog’.

    My assumption is that this class will ONLY appear on that specific page. If so, you can style any article (or other element) using that hook.


    .blog article
    #110675
    chanman
    Member

    now i get it, let me try that real quick.

    #110676
    chanman
    Member

    that works, thanks so much.

    #110677
    Paulie_D
    Member

    Happy my limited knowledge was useful.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The forum ‘Back End’ is closed to new topics and replies.