Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #972699

    Hi, is it possible to set the width of the Cookie consent message (position at the bottom) to 100% when the layout of the site is standard (max container width 1.310px)?

    I have tried something like

    .avia-cookie-consent .container {
    width:100% !important;
    }

    But that doesn’t work. Thing is, I would like to have all text and button in one line, at the moment I have a line break with the button in the second line which gives the message container an unnecessary height (on a full HD screen).

    Can you point me into the right direction? Thank you very much!

    #973256

    Hey L+T,

    Is this already fixed?
    I have checked your site and the Cookie Consent Message is showing in fullwidth.

    Best regards,
    Nikko

    #973262

    Hi Nikko, sorry, no, it’s not. Maybe I wasn’t precise enough. What I meant is that the content of the cookie consent is tied to the max. container width of the Enfold layout.

    So, as a standard, I have 1.310px and the message bar breaks into two lines:

    1.310px width

    If I set the layout width to 100% the message within the cookie bar has more space and therefore shows in one line only:

    100% width

    Is that any clearer? It’s a bit difficult for me to explain.

    So my idea is to leave the layout width of Enfold an 1.310px but find a way to set the content/container of the cookie consent bar to 100%.

    Thank you very much!!

    #973707

    Hi L+T ,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    .responsive .avia-cookie-consent.avia-cookiemessage-bottom .container {
    	    max-width: 100%;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #974101

    Hi Victoria, that did the job, excellent. Thank you very much!

    #974130

    Hi,

    -Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Cookie consent width adjustment possible?’ is closed to new replies.