Hi,
I know how to add different header images for pages. Please advise if the same can be done to all portfolio or post items including their aggregation pages? (i.e. paged with multiple portfolio items). Basically I need everything portfolio to have a different header.
And would like to know if post/portfolio categories could also receive separate header images.
Thank you,
E
Different header image for portfolio or post items
5 posts from 3 voices-
Posted 1 year ago #
-
Hi Ellina37,
I'm guessing a little bit on what you want, but I believe so yes. If you used page or page type specific css, you could target those pages to have different styles.
Regards,
Devin
Posted 1 year ago # -
Hi Devin,
Sorry if I was cryptic. How do I change header for ALL of portfolio or for everything in one category.
To specify header for a page I use a page ID ascribed by Wordpress when the page is created.for example:
.page-id-1469 .bg-logo a {
background: url("../images/name.png") no-repeat scroll left top transparent;
}But how do I do it for a category or a portfolio please? What CSS code do I use?
EPosted 1 year ago # -
PS I want to target ALL posts in a portfolio at once
Or all posts under a certain category at onceThank you,
EPosted 1 year ago # -
Hi,
Please open up some pages/posts/archive pages you want to change and check the source code. Instead of ".page-id-1469" each portfolio, post, category, etc. will have other body classes. Use them for your custom logo code.Posted 1 year ago #
Reply
You must log in to post.














