How to change the background colour and margin of my instafeed+story app on homepage?

Topic summary

A user seeks help changing the background color and margin of an Instagram feed/story app section on their Shopify homepage. After sharing their store URL (kriemiy.myshopify.com), they receive two working solutions:

Solution 1 (Mustafa_Ali):

  • Navigate to Online Store → Themes → Three Dots → Edit Code → theme.liquid
  • Add CSS code under the <style> tag before <body>:
section#shopify-section-template--19509191475436__1743009798c16bb429 {
    margin-top: -25px;
    background-color: #DEF4CC;
}

Solution 2 (Moeed):

  • Similar approach, placing code above the </body> tag in theme.liquid

The user initially questions the absence of a <style> tag but finds {% style %} instead. The issue is resolved after implementing one of the solutions, with the user confirming success and expressing gratitude.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

2 Likes

hey @ramyaq share the URL of your website so i can help you

Hey @ramyaq

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

Hello @ramyaq

Thank you for submitting your query to the Shopify community. I’d be happy to assist you. Could you please provide the store URL and password (if it’s password-protected) so I can review and get back to you with an update?

https://kriemiy.myshopify.com/

1 Like
section#shopify-section-template--19509191475436__1743009798c16bb429 {
    margin-top: -25px;
    background-color: #DEF4CC;
}

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution

Hey @ramyaq

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 tag


RESULT:

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

Best Regards,
Moeed

1 Like

there is no mentioned in the code ?

{% style %} is mentioned

Thank you so much

1 Like

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.