WordPress.org

Ready to get started?Download WordPress

Forums

Cookie Law Info
Responsive/Mobile View - Width of Bar (6 posts)

  1. samandella
    Member
    Posted 6 months ago #

    Hi

    Thanks for this plugin - it works great. However, I'm not sure where to change the width so it renders correctly on mobile devices.

    The right most margin is cut off at the edge - see screenshot of website viewed on Samsung Galaxy S4mini: https://www.dropbox.com/s/p0bc27h42ymbl1b/Screen%20Shot%202013-12-22%20at%2014.18.42.png

    Any suggestions, please?

    Thank you.

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

  2. samandella
    Member
    Posted 6 months ago #

    Thinking about it, there shouldn't be a left or right margin and the bar should span the width of the page on a mobile device but it doesn't.

    Any ideas, please?

    Thanks

  3. samandella
    Member
    Posted 6 months ago #

    Still no response to this? I was allowing extra time for Christmas (but that's over, now). Any ideas, please?

  4. richardashby
    Member
    Plugin Author

    Posted 6 months ago #

    Hi, the default CSS does the following:

    margin: 0 auto
    width: 100%

    So this makes the cookie bar centred and 100% the width of the page.

    In your case some other style on your website will be overriding these settings. I imagine it's a <body> style- check for extra margin, padding and width.

    All the best
    Richard

  5. samandella
    Member
    Posted 5 months ago #

    Many thanks for the reply, Richard. I have contacted the theme developers about this and will post an update here when received.

  6. richardashby
    Member
    Plugin Author

    Posted 5 months ago #

    Hi,

    In case this helps- if you know a bit of CSS then it's probably something you can test yourself without waiting for a response from the theme developer

    All the best
    Richard

Reply

You must log in to post.

About this Plugin

About this Topic