ThemeShaper Forums » Thematic

Show me the LINK ( PLEASE ! )

(6 posts)
  • Started 10 years ago by sober
  • Latest reply from sober
  • This topic is resolved
  1. sober
    Member

    I am using the power blog theme and some days back I read a very detailed article most probably by CHRIS that mentioned about how the post/page title color can be changed in CSS based on the post/page slug . I WILL BE MUCH OBLIGED if someone can point out the link. I got some help from Amygail (http://forums.themeshaper.com/topic/styling-individual-post-titles) but unfortunately does not works for me .

    Posted 10 years ago #
  2. I'm not aware of the location of the of article of you have described; but I'd be glad to consider a solution to your problem if you'd list in a bit more detail what it is you're trying to accomplish without referring to an article of which I havent read.

    Posted 10 years ago #
  3. sober
    Member

    I simply want to influence the style of the page titles (dead-end title color (the actual page), link color background etc) in the power blog and i have read an article by Ian (most probably) wherein it was mentioned as doable through CSS in connection with the page slug. Thanks for the concern

    Posted 10 years ago #
  4. All of this can be done with CSS using specificity. Start by isolating the tag you want to style and the look at the body class attributes on that page. The thematic_body_class() function dynamically assigns the body class attribute according to where you are in your site. So if you want to change the color of the page title on a page with a page-slug of 'dead-end' to green:

    .slug-dead-end h1 {color: green}

    You're going to have to look at the source code individually on each page you want to affect changes on as the code is pretty dynamic in thematic and it might take some trial and error to isolate the desired tag. The firebug ext for firefox makes this process a breeze once you get the hang of how it works.

    If you saw something in the way of an article about this I'd venture to say it was in here or the wiki/guide or the thematic blog. Try searching for "dynamic body class" or individual parts of that query and see if you find your lost tutorial.

    Good Luck

    Posted 10 years ago #
  5. Sober, there is no need to start a second forum thread about the exact same question. It gets confusing for people as to where to reply and for future searches from people with the same problem. Please don't do that.

    amygail’ms and em hr’s answers should solve your problem. But if you still want to read about thematic’s dynamic body classes (which are the answer to what you are trying to accopmlish), try this wiki entry.

    And read my reply in your original thread about this as well! (See? Confusing.)

    Posted 10 years ago #
  6. sober
    Member

    Sorry for the mess and duplicate entries...

    Posted 10 years ago #

RSS feed for this topic

Reply

You must log in to post.