I need help setting up "contact section" code, there is an error

Solved

I need help setting up "contact section" code, there is an error

selleranna
Shopify Partner
36 0 5

This was the output: (this is on studio theme)


Screenshot 2024-07-01 192616.png

But I wanted this output: (It is on a different theme)


Screenshot 2024-06-29 190940.png

 

Can someone help me?

I cannot send the code as it has "contact details" that is not allowed to share on this post

Accepted Solution (1)
Moeed
Shopify Partner
7528 2034 2500

This is an accepted solution.

Hey @selleranna 

 

Keep the previous code and add this new code above </style> in the end of theme.liquid file

.contact-info {
    bottom: 50px !important;
    position: relative !important;
}

RESULT:

Moeed_0-1719835520585.png

 

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

Replies 9 (9)

Moeed
Shopify Partner
7528 2034 2500

Hey @selleranna 

 

Share your Store URL and Password if enabled.

 

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


selleranna
Shopify Partner
36 0 5

This is on a backup theme, Which is not live yet

Moeed
Shopify Partner
7528 2034 2500

You can share the preview URL of your draft theme.

Best Regards,

Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


selleranna
Shopify Partner
36 0 5
Moeed
Shopify Partner
7528 2034 2500

Hey @selleranna 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (min-width: 768px) {
.contact-section {
    height: 270px !important;
}
.contact-methods {
    display: flex !important;
}
.contact-method {
    padding: 0 0 0 30px !important;
    width: 300px !important;
    height: 70px !important;
    justify-content: flex-start !important;
}
}
</style>

RESULT:

Moeed_0-1719834752882.png

 

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


selleranna
Shopify Partner
36 0 5

That did work but a little error came up with the alignment:

Screenshot 2024-07-01 195435.png

 

Moeed
Shopify Partner
7528 2034 2500

This is an accepted solution.

Hey @selleranna 

 

Keep the previous code and add this new code above </style> in the end of theme.liquid file

.contact-info {
    bottom: 50px !important;
    position: relative !important;
}

RESULT:

Moeed_0-1719835520585.png

 

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


selleranna
Shopify Partner
36 0 5

Thank you so much

Moeed
Shopify Partner
7528 2034 2500

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications