Support » Plugin: GDPR Cookie Consent » How to change the border top pixels

  • Resolved pedroarnau23

    (@pedroarnau23)



    Hi,

    I would want to know how to change the border-top of the Cookie Law Info Bar.
    By default the border-top is of 4px and I would want to put 1px.

    Using Firebug I see this:
    <div id=”cookie-law-info-bar” style=”display: block; background-color: rgb(237, 237, 237); color: rgb(0, 0, 0); font-family: inherit; border-top: 4px solid rgb(140, 140, 140); position: fixed; bottom: 0px;”><span>This website uses cookies to improve your experience. We’ll assume you’re ok with this, but you can opt-out if you wish.Accept Read More</span></div>

    I want to change “border-top: 4px”
    I have tried changing “#cookie-law-info-bar” at the “cookie-law-info/css/cli-style.css” but it is not working.

    Thank you!

    http://wordpress.org/plugins/cookie-law-info/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    You’d need to change the JavaScript file /js/cookielawinfo.js on line 37

    I’ll see about moving that to a CSS file in a future release though as it’s a little restrictive the way it is set up now. Thanks for pointing that out 🙂

    All the best,
    Richard

    Thank you! 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change the border top pixels’ is closed to new replies.