Solved

How to remove store logo from password header? And move lock icon to the right of the text?

legadocharrohat
Tourist
9 0 5

 

I was wondering how I could remove the brand logo from the header, and just move that lock icon to the right of the text, if possible on desktop? On mobile I want to do the same thing except remove the text and just have the lock icon in the top right, is that possible? Thanks for any help in advance!

Screenshot 2023-10-19 121337.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
5118 1219 1493

This is an accepted solution.

Oh, that good you know which selector to remove. Try this oone for the padlock.

right on desktop and top on the mobile right? 

Same Instruction. 

@media only screen and (min-width: 750px){
.modal__toggle-open.password-link.link.underlined-link {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}
}
@media only screen and (max-width: 750px){
details.modal .modal__toggle-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
}

Result:

Made4uoRibe_0-1697811193260.pngMade4uoRibe_1-1697811206699.png

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 11 (11)

Made4uo-Ribe
Shopify Partner
5118 1219 1493

Hi @legadocharrohat 

Would you mind to share the password website? Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


legadocharrohat
Tourist
9 0 5

Yes the password is LGCH

Made4uo-Ribe
Shopify Partner
5118 1219 1493

Oh, Sorry I mean the Website of this password page. Thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


legadocharrohat
Tourist
9 0 5

Oh I'm sorry, yes https://legadocharro.com/

Made4uo-Ribe
Shopify Partner
5118 1219 1493

Thanks for the info, try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "section-password.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

svg.icon.icon-padlock, img.password-logo {
    display: none !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1697749296137.pngMade4uoRibe_1-1697749310327.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


legadocharrohat
Tourist
9 0 5

Thank you! That hid the image! But how do I make the padlock icon be in the top right on mobile and on the right of the text on desktop (sorry for asking so many questions)

Made4uo-Ribe
Shopify Partner
5118 1219 1493

ah, okay I thought you like to remove also the padlock.  Can you take out the code that I give. I need to modify thanks!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


legadocharrohat
Tourist
9 0 5

Yes let me remove it!

 

Made4uo-Ribe
Shopify Partner
5118 1219 1493

This is an accepted solution.

Oh, that good you know which selector to remove. Try this oone for the padlock.

right on desktop and top on the mobile right? 

Same Instruction. 

@media only screen and (min-width: 750px){
.modal__toggle-open.password-link.link.underlined-link {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}
}
@media only screen and (max-width: 750px){
details.modal .modal__toggle-open {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
}

Result:

Made4uoRibe_0-1697811193260.pngMade4uoRibe_1-1697811206699.png

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


legadocharrohat
Tourist
9 0 5

Awesome, thank you for the help!

legadocharrohat
Tourist
9 0 5

............