Reduce Announcement Bar size in Mobile view

Solved

Reduce Announcement Bar size in Mobile view

RivaajEthnic
Excursionist
44 1 5

hi,

 

Can you please help to reduce font size for announcement bar. Currently its very big for mobile view but looks fine for desktop view.

 

Ideal size for desktop is 13px and for mob view is 10px

 

https://www.rivaajethnic.com/?_ab=0&_fd=0&_sc=1

 

Thanks!

Accepted Solution (1)

qasim-devloper
Shopify Partner
151 11 23

This is an accepted solution.

Paste this code in base.css file

@media only screen and (max-width: 767px){
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message .message, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message a, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message p, #shopify-section-sections--22097114333368__announcement-bar .top-mesage-countdown{
    font-size: 10px !important;
}
}

- Need a Shopify Specialist? Chat on WhatsApp +923289643774

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button!

View solution in original post

Replies 2 (2)

qasim-devloper
Shopify Partner
151 11 23

This is an accepted solution.

Paste this code in base.css file

@media only screen and (max-width: 767px){
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message .message, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message a, #shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message p, #shopify-section-sections--22097114333368__announcement-bar .top-mesage-countdown{
    font-size: 10px !important;
}
}

- Need a Shopify Specialist? Chat on WhatsApp +923289643774

- Boost Your Sales with Affiliate Marketing - UpPromote: Affiliate & Referral


- If my solution was helpful, mark it as a solution and hit the like button!

Made4uo-Ribe
Shopify Partner
9710 2309 2888

Hi @RivaajEthnic 

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 "Assets" folder, click on "base.css, style.css or theme.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:

 

@media only screen and (max-width: 749px){
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message, 
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message .message,
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message a, 
#shopify-section-sections--22097114333368__announcement-bar .announcement-bar__message p, 
#shopify-section-sections--22097114333368__announcement-bar .top-mesage-countdown {
    font-size: 10px;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1734727452263.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 ⚙️.