Site logo

Archived topic

change the position os woocomerce store notice message

7 replies · Started by Toni on August 15, 2022

Viewing posts 1–8 of 8

Hi, i have the "niche" theme into woocomerce and generatepress.

I need to use the store notice, but it overlaps the web´s top menu.
How can I change the position of the store notice from top to bottom of page?
I tried with css but it didn't work.

Thanks for your help and sorry for my bad english.

Hi Toni,

I don't think it's possible.

Does the store notice need to be able to be dismissed?

If not, you can try using the topbar.

The woocomerce sotre notice is for limited offers, etc. but in the top overlap the menú. And yes, should be able to close or dismiss.

And yes, should be able to close or dismiss.

Then I don't think there's an easy way without custom development.

The feature is from Woocommerce, not GP.

in others forums says:

"The store notice location is largely dependent on the theme you’re using; To move that would either be done using your theme settings or custom CSS."

don't worry. I'll look for an alternative.

Thanks for all.

The only workaround I can think of is to use this CSS, but it will make the notice sticky at the top.

p.woocommerce-store-notice.demo_store {
    position: sticky;
    top: 0;
    order: -1;
}
body {
    position: relative;
    display: flex;
    flex-direction: column;
}

Give it a try and let me know if it works.

perfect. seems to work. Thanks.

Glad to hear that :)

This archived topic is closed to new replies.