-
-
Hi!
I’ve been using Tower to design a site for a client and am having a weird problem. When I create a portfolio item page I can add a header background image and it looks great before I publish the page. As soon as I publish it though, the image disappears and the whole header is just white.
Any idea what’s causing this?
Dom
-
Hello,
The portfolio takes the page header settings assigned in General Options > Header Options > Default Page Header (screenshot).
Please try it here and let us know if the situation persists.Best regards!
-
Sorry for not being more clear in my initial question. I am trying to make each portfolio item have a unique header image. I can add them on each page and they look fine, but when I publish, the image reverts to the default header. Is there any way around this?
Dom
-
Hello,
As i said in my previous reply, the portfolio items use the default page header image. Which means all of them will have the same image. To change this you have to use custom css. Add this code into your custom css box:
.postid-350 .single-portfolio .header_page { background-repeat: no-repeat; background-size: cover; background-position: left top; background-image: url(https://shockcutproductions.com/wp/wp-content/uploads/2016/06/srv-e1467157150573.jpg) !important; }
Edit the image link for every item. Yes, you have to repeat this for every item..
To differ one portfolio item from another, use their id’s. Find them with inspect element (press F12 in your keyboard). See screenshot.
Let us know.Best regards!
- This reply was modified 8 years ago by Mirela.
-
I added that custom CSS but the default header settings are still overriding it. Is there anything else that I need to change to allow it take effect?
-
Hello,
Sorry for the late reply.
I see the portfolio items are displaying different page header images. Like “Greg Koch” is different from “Randy Hansen“.
Did you manage to fix it?
Let us know if you need further help.Best regards!
-
You must be logged in to reply to this topic.