Titles in Pages, where there is a Breadcrumb. Needed ?

General shopowner conversation that doesn’t quite fit into other sections.
Talk shop, share experiences, and connect with fellow Phoenix store owners.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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 ?
You do not have the required permissions to view the files attached to this post.
I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
bonbec
Contributor
Posts: 190
Joined: Mon Oct 26, 2020 12:23 pm
Phoenix Version: V1.1.0.7
Has thanked: 54 times
Been thanked: 40 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post by bonbec »

A large headline is unnecessary for me.

However, I quite like this display:
darty_basket.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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.
PiLLaO
Contributor
Posts: 107
Joined: Thu Nov 05, 2020 9:28 pm
Phoenix Version: v1.1.0.6
Has thanked: 53 times
Been thanked: 11 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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...
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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 ?
I am not here to build for you.
I am here to build with you. Let's help each other.
Dan Cole
Senior Contributor
Posts: 498
Joined: Fri Oct 25, 2019 2:14 pm
Phoenix Version: 1.0.8.21
Has thanked: 67 times
Been thanked: 61 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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 ?
I am not here to build for you.
I am here to build with you. Let's help each other.
User avatar
burt
Core Team
Posts: 4550
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 412 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post 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.
You do not have the required permissions to view the files attached to this post.
Dan Cole
Senior Contributor
Posts: 498
Joined: Fri Oct 25, 2019 2:14 pm
Phoenix Version: 1.0.8.21
Has thanked: 67 times
Been thanked: 61 times

Re: Titles in Pages, where there is a Breadcrumb. Needed ?

Post by Dan Cole »

I'm curious as to what it might look like without what I think is the Page Title?

Dan


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply