Hi,
Can I add this link navigation also on the mobile view?
To add link navigation to the mobile view in the Prestige theme, you can follow these steps:
{% section 'header-mobile-navigation' %}
â
<nav> tag or similar.<a>). For example:
â
Replace /page1, /page2, and /page3 with the actual URLs or page handles you want to link to.
Hello There,
@media screen and (max-width: 767px) {
.breadcrumb--floating {
position: inherit;
display: block;
}
}
@ZestardTech Can you center the menu nav? ![]()
Hello There,
@media screen and (max-width: 767px) {
ol.breadcrumb__list.unstyled-list {
justify-content: center;
}
}
@ZestardTech It works! Can you make dots instead of slashes?
@ZestardTech Can you make the text like this:
text-transform: math-auto;
When I add this code nothing happend
Hello There,
@media screen and (max-width: 767px) {
.breadcrumb__list-item+.breadcrumb__list-item::before {
content: "\2022";
margin: 0 10px;
font-family: "Cambria Math", serif;
text-transform: none;
}
}
@ZestardTech Funny, on my iphone the font style is still in capitalize
Can you change the dots also to the desktop view please?
Hello there
Remove this css.
@media screen and (max-width: 767px) {
.breadcrumb__list-item+.breadcrumb__list-item::before {
content: "\2022";
margin: 0 10px;
font-family: "Cambria Math", serif;
text-transform: none;
}
}
and add this css.
.breadcrumb__list-item+.breadcrumb__list-item::before {
content: "\2022";
margin: 0 10px;
font-family: "Cambria Math", serif;
text-transform: lowercase !important;
}
@ZestardTech My mistake, I meant that I still see the font on my iPhone in all uppercase. Can you fix this?
Hello There,
@media only screen and (max-device-width: 768px) {
.smallcaps {
text-transform: capitalize!important;
}
}
@ZestardTech Can you make the text math-auto?
Hello @admintb
Could you please explain in detail what you have to do and provide a screenshot?
@ZestardTech All good, I found a solution.
Thank you for your response. Itâs good to know that itâs worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.
Hello @admintb ,
You can add link navigation to mobile view with the help of a snippet; please check the below steps to add snippets to your mobile view store.
Add a snippets
Breadcrumb.liquid files
.breadcrumbs { margin: 0px; / background: #f3f4f5; / font-size: 14px; padding: 10px 0; } .breadcrumbs__list { list-style-type: none; margin: 0; padding: 0; } .breadcrumbs__item { display: inline-block; margin-left: 10px; } .breadcrumbs__item:not(:last-child):after { border-style: solid; border-width: .10em .10em 0 0; content: ''; display: inline-block; height: 8px; margin: 0 .20em; position: relative; transform: rotate(45deg); vertical-align: middle; width: 8px; top:-1px; } .breadcrumbs__link, .breadcrumbs__link_n > a{ text-decoration: none; color: #121212; font-size: 16px; text-transform: capitalize; } .breadcrumbs__link[aria-current="page"] { color: inherit; font-weight: normal; text-decoration: none; } .breadcrumbs__link[aria-current="page"]:hover, .breadcrumbs__link[aria-current="page"]:focus { text-decoration: underline; }{%- unless template == âindexâ
or template == âcartâ
or template == âlist-collectionsâ
or template == â404â
or template.name == âloginâ
or template.name == âregisterâ
or template.name == âaccountâ
or template.name == âaddressesâ
-%}
{%- assign t = template | split: â.â | first -%}
{%- case t -%}
{%- when âsearchâ -%}
{{ 'Search â }}
{%- when âpageâ -%}
{%- when âproductâ -%}
{%- unless collection -%}
{%- assign p = all_products[product.handle] -%}
{%- assign collection = p.collections | first -%}
{%- endunless -%}
{%- if collection.url -%}
{{ collection.title | link_to: collection.url }}
{%- endif -%}
{%- when âcollectionâ and collection.handle -%}
{%- if current_tags -%}
{{ collection.title | link_to: collection.url }}
{%- capture tag_url -%}{{ collection.url }}/{{ current_tags | join: â+â}}{%- endcapture -%}
{{- current_tags | join: â + â -}}
{%- else -%}
{%- endif -%}
{%- when âblogâ -%}
{%- if current_tags -%}
{{ blog.title | link_to: blog.url }}
{%- capture tag_url -%}{{blog.url}}/tagged/{{ current_tags | join: â+â }}{%- endcapture -%}
{{- current_tags | join: â + â -}}
{%- else -%}
{%- endif -%}
{%- when âarticleâ -%}
{{ blog.title | link_to: blog.url }}
{%- else -%}
{%- endcase -%}
{%- endunless -%}
And save it .
Goto the theme.liquid file and search â var contentâ and add the below content.
{% render âbreadcrumbâ %}
{% capture content %}{% include âquickviewâ %}{% endcapture %}
var content = {{ content | json }};
Then save it and check the breadcrumb add over the store.
Hope this helps; let us know if you need further help with your Shopify store.
All the best,
CedCommerce