Different margin in policy page

Solved

Different margin in policy page

manbru
Pathfinder
129 0 30

Hey,

 

I've used this code before the give the breadcrumbs different margins on different pages in my strore, and it works great:

{% if template.name == 'product' %}
<style>
  @media (min-width: 769px) {
    .breadcrumbs {
      margin-left: 70px;
    }
  }
</style>
{% endif %}

 

However I want to do the same thing for the policy page but haven't been able to find the right "Id" for it.

I want the same margin on the policy page that the product page has.

 

The page: https://r1vex.myshopify.com/pages/test 

 

Skärmavbild 2024-09-28 kl. 12.48.58.png

 

Thanks for helping

Accepted Solution (1)

Moeed
Shopify Partner
7136 1928 2352

This is an accepted solution.

Hey @manbru 

 

Add this code right below the code you have added

{% if template.name == 'page' %}
<style>
  @media (min-width: 769px) {
    .breadcrumbs {
      margin-left: 70px;
    }
  }
</style>
{% endif %}

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Reply 1 (1)

Moeed
Shopify Partner
7136 1928 2352

This is an accepted solution.

Hey @manbru 

 

Add this code right below the code you have added

{% if template.name == 'page' %}
<style>
  @media (min-width: 769px) {
    .breadcrumbs {
      margin-left: 70px;
    }
  }
</style>
{% endif %}

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications