ThemeShaper Forums » Thematic

[closed]

adding css style into a post div tag using filter

(3 posts)
  • Started 6 years ago by turbobutton
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. im looking to place style inside the div tag.

    <div id="post-xxx" class="hentry post" style="mystyliestuff">

    ive tried the following filters without luck

    thematic_postheader, thematic_post, thematic_content, the_content

    and its also not the wp post classes.

    what is the filter to target that post div tag?

    Posted 6 years ago #
  2. You should be able to do this in your CSS sheet...something like

    .hentry {
    //put style here
    }
    
    OR add to a specific post id
    
    #post-1.hentry {
    //put style here
    }
    
    Posted 6 years ago #
  3. you can't filter that. and why would you want to? take Jagstr3r15's advice and use CSS. separate content and style makes developers happy.

    Posted 6 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.