WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Background image showing in breadrumbs - how to remove it?
seanie_morris:
Hi,
My breadcrumbs placeholder on the Overdrive template is displaying a background image, the image is the one used for the .title property in style.css
I found the line in framework/frontend.functions.php that is calling it:
--- Code: ---$title = (trim($title) == '') ? $MENU['BREADCRUMB'] : $title;
--- End code ---
How do I edit this line to remove the image? I tried a few variations, even deleting the line, but most of the time when I do this, the breadcrumb text "You are here:" is removed from the breadcrumbs.
I have removed any color or background-image property from the #breadcrumbs element in style.css so that it is a transparent area. The image only underlays on the 'You are here:' part of the breadcrumb.
Seanie.
Luisehahne:
Can we have an url to take a look in the generated html?
Dietmar
seanie_morris:
I solved it Dietmar, thanks!
I found that if I changed line 380 in framework/frontend.functions.php from:
--- Code: ---print '<div class="breadcrumb"><span class="title">'.$title.'</span>';
--- End code ---
to
--- Code: ---print '<div class="breadcrumb">'.$title.'';
--- End code ---
it worked. Removing the <span class="title"> reference did the trick.
:) Seanie.
seanie_morris:
--- Quote from: seanie_morris on February 02, 2017, 09:40:58 PM ---I found that if I changed line 380 in framework/frontend.functions.php...
--- End quote ---
In 2.8.3 SP7 it is line 394.
;-)
jacobi22:
if we now change this code, maybe a lot of users lost the styling for the breadcrumbs
rename the class="title" from your background picture looks like a better solution
Navigation
[0] Message Index
[#] Next page
Go to full version