What's your biggest current challenge? Have your say in Community Polls along the right column.

change menu view on tablets dawn theme

change menu view on tablets dawn theme

Violetacostas
Excursionist
21 0 11

Hello, I was wondering if you could help me. The logo is centered, but when I open it on a tablet, it shifts to the left. I modified this, but it only applies on the homepage; when I go to a collection or product page, it shifts back to the left. Is there a way to set it so it’s always centered?

thank you

 

Here’s the link in case you need to check it. https://o1d7k3urdm2afacq-53578137750.shopifypreview.com

 

IMG_3678.jpgIMG_3679.jpg

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9186 2191 2709

Hi @Violetacostas 

TRy this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (min-width: 749px) and (max-width: 989px) {
    a.header__heading-link.link.link--text.focus-inset {
        margin-right: -20%;
    }

    .header--mobile-left .header__heading-link {
        justify-self: center;
    }
}
@media only screen and (max-width: 749px){
.header--mobile-left {
        grid-template-columns: auto 1fr !important;
    }
}
</style>

 

  • And Save. 
  • Result:
    Made4uoRibe_0-1731585327127.pngMade4uoRibe_1-1731585340210.png

     

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Violetacostas
Excursionist
21 0 11

Hello, it has been changed, but sometimes it "jumps" that is, it is on the left and in 1 second it jumps to the center. It does not appear directly in the center if I access some products and collections. Is that for something?

 

Website: https://iuwp1o91b82xx39a-53578137750.shopifypreview.com/

Violetacostas
Excursionist
21 0 11

Hello, it has been changed, but sometimes it "jumps" that is, it is on the left and in 1 second it jumps to the center. It does not appear directly in the center if I access some products and collections. Is that for something?

 

Website: https://iuwp1o91b82xx39a-53578137750.shopifypreview.com/