Page 1 of 2
Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 8:45 am
by burt
I have been wondering, assuming a shopowner has a Breadcrumb.....
are Page Titles needed ?
EG, with the Title
cart_special_now.png
EG without Title
cart_no_title.png
What's your opinion ?
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 9:52 am
by bonbec
A large headline is unnecessary for me.
However, I quite like this display:
darty_basket.jpg
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 11:51 am
by burt
That looks like the checkout "step" thing, but extended out into the cart as a first step.
Looks good, I like the concept very much.
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 12:04 pm
by PiLLaO
For some pages will be a good option, for others... it's the <h1> I'm not sure how it affect to Google, but if no, need refact all h1, h2, h3...
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 12:07 pm
by burt
BTW, no plan to remove the headings - it's just a discussion post.
I like not having the big titles - to my eye it is much nicer cosmetic to not have them
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 12:08 pm
by burt
PiLLaO wrote: ↑Wed Apr 29, 2026 12:04 pm
For some pages will be a good option, for others... it's the <h1> I'm not sure how it affect to Google, but if no, need refact all h1, h2, h3...
This is a very good point.
I wonder if the "end" bit of the breadcrumb (in the image `Cart Contents`) could be made into a `h1` but with a small font-size to suit the rest of the bread ?
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 12:39 pm
by Dan Cole
@burt
I wonder if the "end" bit of the breadcrumb (in the image `Cart Contents`) could be made into a `h1` but with a small font-size to suit the rest of the bread ?
Thinking outside the box and operating without coffee (a dangerous state for me), could the last bit of the breadcrumb be styled or dressed up in a way (ie more visible) that it would, in effect, serve as a replacement for the title?
Dan
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Wed Apr 29, 2026 12:57 pm
by burt
Dan Cole wrote: ↑Wed Apr 29, 2026 12:39 pm
Thinking outside the box and operating without coffee (a dangerous state for me), could the last bit of the breadcrumb be styled or dressed up in a way (ie more visible) that it would, in effect, serve as a replacement for the title?
I'm almost, maybe, sort of, pretty certain that this could be done. It would `just` be a case of giving that `end crumb` a different style. Eg; perhaps Bold, or an underline, a slightly bigger font , a colour to suit the main cosmetics of the shopowners theme...etc ?
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Fri May 01, 2026 8:12 am
by burt
Dan Cole wrote: ↑Wed Apr 29, 2026 12:39 pm
last bit of the breadcrumb be styled or dressed up in a way (ie more visible)
Obviously doesn't suit the theme as it was just for a test, but...
bread-1.png
Achieved by...
1. overriding the breadcrumb hook
-> into chosen template
2. changing L30 in that NEW file
->
https://github.com/CE-PhoenixCart/Phoen ... mb.php#L30
to something like
Code: Select all
$crumbs .= '<h1 class="fw-semibold text-warning d-inline-flex align-items-center m-0 p-0 text-decoration-underline link-offset-3" style="font-size: 1.2rem;">' . $v['title'] . '</h1>';
I didn't bother removing the <h1> from the page, but that would be easy enough for most shopowners.
Now you have a somewhat styled h1 in the breadcrumb.
Whether this is a good idea or not, and whether this might cause unintended consequences...unknown.
Re: Titles in Pages, where there is a Breadcrumb. Needed ?
Posted: Fri May 01, 2026 11:21 am
by Dan Cole
I'm curious as to what it might look like without what I think is the Page Title?
Dan