Menu hidden under sticky announcement banner

Solved

Menu hidden under sticky announcement banner

harper1989
Excursionist
29 0 7

Hi Everyone,

 

I see this appears to be an issue for most users when they have a sticky announcement bar.

 

Part of my menu drop down is missing on the desktop version of FOCAL THEME 12.0.1

 

See below, there should be another menu item which appears to be hidden underneath the announcement bar. Is there a way to 'bring this forward' so that it is visible?

 

Screenshot 2024-08-20 at 21.17.36.png

 

It is fine in mobile view.

 

Cheers

 

Matty

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10043 2388 3014

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

div#shopify-section-sections--23050754392332__announcement-bar {
    z-index: 1 !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1724188898663.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.

View solution in original post

Replies 11 (11)

Hamza_Hussain
Shopify Partner
56 6 13

can you provide your Store URL?

 

Honey G Hamza

Made4uo-Ribe
Shopify Partner
10043 2388 3014

Hi @harper1989 

Would you mind to share your store URL? Thanks!

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.
harper1989
Excursionist
29 0 7

Hi,

 

Thank you for the swift response

 

https://04f0c9-70.myshopify.com/

 

Password: spacetravelexplore!

 

Cheers

 

Matty

Made4uo-Ribe
Shopify Partner
10043 2388 3014

This is an accepted solution.

Thanks for the info, check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

div#shopify-section-sections--23050754392332__announcement-bar {
    z-index: 1 !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1724188898663.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.
harper1989
Excursionist
29 0 7

perfect, worked immediately! Thank you so much

harper1989
Excursionist
29 0 7

Hi,

 

Unfortunately, the code change has impacted the announcement bar drop down, especially on mobile view.

 

When you click on the announcement bar drop down, text in the sections below the announcement bar shows through like this:

 

This is even more troublesome in mobile view as everything is on one small screen and all the text is clashing.

 

Please can you help

 

Screenshot 2024-08-21 at 22.41.06.png

Many thanks

Made4uo-Ribe
Shopify Partner
10043 2388 3014

Sorry, but i didnt change the dropdown only the announcement bar to send to back. Can I take a look in your so i can get what you mean? Thanks!

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.
harper1989
Excursionist
29 0 7

Thank you - Will send you a DM with URL etc

Made4uo-Ribe
Shopify Partner
10043 2388 3014

Welcome, sorry i cant replicate the problem youve mention. 

Made4uoRibe_0-1724277706713.pngMade4uoRibe_1-1724277723040.pngMade4uoRibe_2-1724277732360.pngMade4uoRibe_3-1724277780811.png

Made4uoRibe_4-1724277829616.png

It seems it working well on my end. 

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.
harper1989
Excursionist
29 0 7

The problem is when you expand the announcement bar... so click on 'learn more' on the red bar... it now does not sit on top of the content below, because the code you have recommended has altered how the accouncement bar sits on top of the page....

harper1989
Excursionist
29 0 7

Example of the issue below - see what happens when you click 'learn more' on the announcement bar:

 

Screenshot 2024-08-22 at 07.26.48.png