Hello,
Please add following code into custom.css file.
.page-heading{
background: (here link to your image);
}
Regards,
Robert Hall.
Solved8 replies3 participantsUpdated by mc9625
I can’t figure how to properly set up the parallax breadcrumb. If I do choose this option in a page, the breadcrumb (and the page title as well) is displayed in white over a light grey solid color background. How I’m supposed to select the image to be used as parallax background? Thanks
Hello,
Please add following code into custom.css file.
.page-heading{
background: (here link to your image);
}
Regards,
Robert Hall.
oh. I see.
Since I would like to have a custom header background in an easier way, I think I should modify the code in order to take the featured image of the page, instead of the one chosen in the theme settings. Could you tell me which file is responsible for the header?
In this case you can edit header-structure-1.php file.
Regards,
Robert Hall.
Are you sure? on that file I can only find code for what is inside the div “header-wrapper”, while I think I should modify the content of the div “.page-heading”. Isn’t it?
You asked about header. Breadcrumbs is section below. Could you please clarify on what page you want do changes?
For example, for portfolio page you need edit \themes\royal\portfolio.php file.
Regards,
Robert Hall.
Ok, actually I want to modify the way the heading background is selected. Basically I need to implement a php that set the CSS property of “.bc-type-5, .bc-type-6 ” to something like: background-image= the_post_thumbnail();
Hello,
Could you please clarify with more details what exactly you want to achieve?
Please provide us with wp-admin panel credentials in Private Content.
Thank you.
Regards,
Eva Kemp.
Right now, in the page layout options when we choose the breadcrumb style parallax or “with background” we can’t choose which image will be used as background in the heading of the page. This image is actually selected from the 8theme theme options.
I would like to change the behaviour of the theme, adding a snippet that should read the featured image for the page currently displayed, and use it as the background of the heading section. This would allow to have different background for each pages.
I guess the easiest way would be to have a bit of code that retrieve the featured image url
something like
if ( has_post_thumbnail() ) {
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large' );
and create a css rule
something like
echo ‘<STYLE type=”text/css”>
.bc-type-3, .bc-type-4, .bc-type-5, .bc-type-6 {
background-image: url(‘. $large_image_url[0] .’);
}</STYLE>’
The issue related to '‘how do the parallax breadcrumbs work?’' has been successfully resolved, and the topic is now closed for further responses
Free AI store scan · SalesMax
Paste your store address. SalesMax AI shows which upsell moments are missing. No signup.
Free AI speed test · FlashMax
Paste your site address. FlashMax runs Google Lighthouse for phone and desktop, checks Core Web Vitals and lists what to fix. No signup.
Grocery Mega MarketFood & drinks
(live demo, opens in a new tab)
Pizza StoreFood & drinks
(live demo, opens in a new tab)
Zoo ShopPets
(live demo, opens in a new tab)
Hipster StoreFashion
(live demo, opens in a new tab)
Home Decor StoreFurniture
(live demo, opens in a new tab)
Lifestyle BlogFashion
(live demo, opens in a new tab)
Baby ShopToys & games
(live demo, opens in a new tab)
HotelBusiness
(live demo, opens in a new tab)
Crypto Mobile AppBusiness
(live demo, opens in a new tab)
CarwashCars & bikes
(live demo, opens in a new tab)
PosterBooks & art
(live demo, opens in a new tab)
GamingToys & games
(live demo, opens in a new tab)
Sushi StoreFood & drinks
(live demo, opens in a new tab)
Flowers StoreBeauty
(live demo, opens in a new tab)
RestaurantFood & drinks
(live demo, opens in a new tab)
Tea StoreFood & drinks
(live demo, opens in a new tab)