• Resolved hatizsakos

    (@hatizsakos)


    Hi,

    I am using Astra theme and padded layout with 20px spacing outside body (localhost).

    When I am using this setup, my banner is moved to the right, it is not centered:

    I am suing the following CSS to make it centered, but I am afraid that with an update from your side, it will be broken someday. Do you know what can cause this issue? Or would you recommend using this CSS because even though you change something, it should not affect this?

    /**
    * cookie banner center
    */
    @media (min-width: 1024px) {
    .cmplz-cookiebanner {
    width: calc(100% - 60px) !important;
    }
    }

    Thank you for your help in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    thanks for your message.

    What you’re experiencing could be a conflict with the Astra theme, your CSS is correct and it shouldn’t be removed with the new update so I suggest you to maintain it.

    Then if you have a cache plugin please follow this guide or disable all its features related to JS optimization/minification/loading delay.

    Thread Starter hatizsakos

    (@hatizsakos)

    Hi ??

    So you say, if I keep the current CSS, it should always work? Or, do I need to check it after each Astra and Complianz update and maybe fine-tune the CSS? That is what I would like to avoid to be honest. There would not be a general fix probably for this, could you please confirm? ??

    Thank you for your kind help in advance and cheers!

    Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    yes I confirm you can keep that CSS, additionally I suggest you to ask the Astra theme support/forum if they have a workaround about it too. Unfortunately at the moment our dev team won’t analyze this specific incompatibility

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.