Support » Plugin: GDPR Cookie Consent » cookie audit layout broken in 1.5.6 or 1.5.7

  • Resolved diablodale

    (@diablodale)


    All worked great in 1.5.5. I upgraded directly to 1.5.7.
    * the cookie audit layout is unviewable. It is offscreen so far to the right that it can not be seen. This is directly related to this plugins layout code and handling styles. I use [cookie_audit style="winter"]. If I change this to [cookie_audit] the layout is better but naturally the colors are wrong. I suspect the changes to layout were not correctly applied to all your codebase.
    * the reject button spontaneously changed its action from “open url” to “close header”. I had to reset the correct value in the settings for the plugin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author markwt

    (@markwt)

    Hi @diablodale,

    Could you please share the URL of your website with the plugin enabled so that we can take a closer look at the issue.

    I made tests pages for you

    with [cookie_audit style=”winter”]
    https://hidale.com/test-cli-plugin1/

    with [cookie_audit]
    https://hidale.com/test-cli-plugin2/

    Plugin Author markwt

    (@markwt)

    Hi @diablodale

    Could you please try below CSS in your active theme style.css

    It will be looking like this.

    table.cookielawinfo-winter thead tr {
    position: static !important;
    
    table.cookielawinfo-winter td, table.cookielawinfo-winter td.cookielawinfo-column-1, table.cookielawinfo-winter td.cookielawinfo-column-2, table.cookielawinfo-winter td.cookielawinfo-column-3, table.cookielawinfo-winter td.cookielawinfo-column-4 {
    position: static !important;
    width: auto !important;
    padding-left: 10px !important;
      padding-top: 10px !important;
    }
    
    #cookie-law-info-bar {
    left: 0 !important;
    right: 0 !important;
    }​

    Please leave us a review if everything seems fine.

    That CSS isn’t valid. Missing a curly bracket somewhere. And the overuse of !important suggests something else at the core is likely a problem.

    You can see at http://hidale.com/privacy I fixed the problems in v1.5.7 by not using your theme param on the shortcode and applying a single custom CSS of:
    table.cookielawinfo-classic {background:white}

    Just in case…when I view code of my website I see at the top two separate loads 🙁 of cookielawinfo
    <link rel='stylesheet' id='cookielawinfo-style-css' href='https://hidale.com/wp-content/plugins/cookie-law-info/css/cli-style.css?ver=1.5.4' type='text/css' media='all' />
    and
    <link rel='stylesheet' id='cookielawinfo-table-style-css' href='https://hidale.com/wp-content/plugins/cookie-law-info/css/cli-tables.css?ver=1.5.4' type='text/css' media='all' />

    Natually, a single style sheet is best.
    But also, notice the version is 1.5.4. Shouldn’t it be 1.5.7? Did you update the CSS between 1.5.4 and 1.5.7, yet this param is preventing the newer 1.5.7 file to be downloaded/used?

    This old version is also on your script
    <script type='text/javascript' src='https://hidale.com/wp-content/plugins/cookie-law-info/js/cookielawinfo.js?ver=1.5.4'></script>

    Hey, like diablodale, also broken for me. And whilst removing theme style and applying single custom CSS line (as above) allows it to display, the table is still not viewable on mobile devices. (Although improved from pre 1.5.7).

    Grateful for any assistance, URL is: https://maidstonephysio.com/privacy-policy/

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cookie audit layout broken in 1.5.6 or 1.5.7’ is closed to new replies.