pic
-
How can i have a pic always posted on one of my categories
The blog I need help with is: (visible only to logged in users)
-
Please be specific. If you want CSS editing help then clearly state exactly which image URL and exactly which category you are referring to.
-
You can use body classes in CSS to target certain kinds of pages.
Le’ts look at a specific example. Here is one of your category pages:
http://littleshopofreaders.com/category/blog-tours/In the body classes on that page, there are two classes you might consider using. The “category” is something you could use to apply to all category pages and “category-blog-tours” is something you could use to apply just to the “Blog Tours” category page.
Here is an example of adding a small logo image to the left of the category page title on all category pages:
.category #page-title { background: url(http://s.wordpress.org/about/images/logos/wordpress-logo-32-blue.png) no-repeat; padding-left: 40px; }Here is an example of adding a small logo image to the left of the category page title on just the Blog Tours category page:
.category-blog-tours #page-title { background: url(http://s.wordpress.org/about/images/logos/wordpress-logo-32-blue.png) no-repeat; padding-left: 40px; }To use your own image, replace the image link inside url() with the link for one of the images in your blog’s media library.
If you meant something else, reply back here and post a little more detail for us about your end goal.
- The topic ‘pic’ is closed to new replies.