• Resolved beat84

    (@beat84)


    I made some variation to CSS and PHP code to have the banner centered on top of the site.

    I wrote a new class in style.css

    .pea_cook_wrapper.pea_cook_none {
        top:10px;
    	left:5%;
    	width:90%;
    	padding-left:0; padding-right:0;
    }

    added at line 19.

    I also added the “None” option in class-admin.php

    <option value="none"<?php if ($options['position'] == 'none') { echo ' selected="selected"'; } ?>>
    				<?php _e('None', 'eu-cookie-law'); ?></option>

    in the select at line 88.

    Then I selected the None option as position in Settings.

    I hope this can help someone! 🙂

    https://wordpress.org/plugins/eu-cookie-law/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marco Milesi

    (@milmor)

    Thank You 🙂

    We are evaluating whether to include a center option for the banner. Maybe with top-bottom option too. For the moment, thanks for the suggestion!

    Thread Starter beat84

    (@beat84)

    No problem, I think you could also give the possibility to apply a custom CSS and a custom name to the cookie so, who wants to move to your plugin can keep already set cookies from users.
    Let me know if you need a hand 😉

    I’ve noticed problems with the banner that does not remain fixed but flows along with the content.

    Don’t work in Safari 8.0.6 and Chrome on Mac OS X.
    It works in Firefox 38.0.5

    I had already reported the problem here
    https://wordpress.org/support/topic/problem-with-more-complex-theme

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New positioning’ is closed to new replies.