Is there a way to have the banner at the bottom?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | simple_cookie_compliance-n3025980-7.patch | 1.96 KB | damienmckenna |
| #6 | banner-at-the-bottom-3025980-6.patch | 764 bytes | guardiola86 |
| #5 | banner-at-the-bottom-3025980-5.patch | 391 bytes | neslee canil pinto |
| #2 | banner-at-the-bottom-3025980-2.patch | 976 bytes | neslee canil pinto |
Comments
Comment #2
neslee canil pintoBanner At the Bottom
Comment #3
cbe243 commentedThank you!
Only problem, I couldn't find (or Terminal) the
But instead, line 73, I replace
$page['page_top']['simple_cookie_compliance'] = array(by$page['page_bottom']['simple_cookie_compliance'] = array(and it works.Comment #4
neslee canil pintoOk cbe243
Can you commit these changes or i have to apply another patch with updates
Comment #5
neslee canil pintoUpdated the changes
Comment #6
guardiola86 commentedI've added some custom styling in case it's useful to anyone. I've made links yellow, added a media query to make it look good on mobile and adjusted paddings and margins.
Comment #7
damienmckennaThis patch provides an option to control whether the message is shown at the top of the page (using the "page_top" region, which is how it works now) or at the bottom of the page (using the "page_bottom" region). It also adds an option on the settings page to control it.
Comment #8
damienmckennaBTW the rest of the changes are just CSS that can be added to the theme to customize the message as needed, so the patch in #7 removes the CSS changes of the previous patches.
Comment #9
damienmckennaFWIW this is the CSS we're using in our theme to control the message's location: