Kervtuza Posted November 26, 2013 Report Share Posted November 26, 2013 Hey Guys, So I am trying to learn how to design themes for Wordpress, I know CSS very well and have some background with Wordpress. I am working on developing my first basic theme with just 2 files to start, index.php and style.css. The trouble I am having is I can't seem to figure out how to target my CSS to the dynamic content of the page. I can fully design the site so it appears great in Wordpress but let's say if I want to give a style to post or comments where I am not hand coding that with HTML, I can't seem to find the CSS selectors. Does anyone know how a site that will give me all of the Wordpress CSS selectors? Thanks! Quote Link to comment Share on other sites More sharing options...
jsmith1981 Posted November 26, 2013 Report Share Posted November 26, 2013 Hello hope you're well? I found this (personally speaking of course) a great resource for starting off on your own http://www.siteground.com/tutorials/wordpress/wordpress_create_theme.htm Then just take things out of a theme you like the look of, get it down to its basic HTML (what I found good was this function <?php remove_filter ('the_content', 'wpautop'); ?> Every time you make any post it annoyingly puts in the p tags in every post (no matter what markup is in the post content, either side of your content it puts in yea the p tags. The above code removes them. Hope this helps? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.