• Resolved rolko92

    (@hunman)


    Hello, my problem is this.

    The text in the button is not in the center but on the left.
    I am looking for a solution so that it is in the middle.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @hunman,

    It looks like the buttons are affected by some other CSS on the page. If you provide an URL to the website in question, we can have a look as well.

    Kind regards, Jarno

    Thread Starter rolko92

    (@hunman)

    Hello, this is the website

    • This reply was modified 2 years, 3 months ago by rolko92.
    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Your theme (or another plugin, can’t see as it’s concatenated) sets this style on the button. You can override your theme by adding the following css to your site:

    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
        display: block;
    }
    Thread Starter rolko92

    (@hunman)

    The problem was not solved with CSS because it displays 4 buttons.

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @hunman,

    You can try replacing the above with this adjusted CSS:

    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept,
    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny,
    .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences {
        display: block;
    }

    Kind regards, Jarno

    Thread Starter rolko92

    (@hunman)

    Even this CSS didn’t solve the problem :/

    Plugin Contributor Jarno Vos

    (@jarnovos)

    Hi @hunman,

    It seems to work fine, but you’re probably looking at the cached version of the page. If you visit your domain with ?nocache added behind the URL, it should work already (e.g. https://www.domain.sk/?nocache).

    Screenshot:

    Kind regards, Jarno

    Thread Starter rolko92

    (@hunman)

    Yes you are right, thanks for the help.
    I forgot about the cache

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Button Text Problem’ is closed to new replies.