SSL Labs ScoreSecurityHeaders.io ScoreHSTS Preloaded

Log in to participate

There is no cost to join RicheyWeb, and membership is a requirement to submit bug reports and participate in the support forums.

× EU e-Privacy Directive needs your help!

A free extension like this survives only by reputation. You can help by submitting a review in the Joomla Extension Directory. Please take the time to make a review by clicking on the link below (opens in a new window)

extensions.joomla.org/write-review/review/add?extension_id=4850

EU e-Privacy Directive - style

More
1 year 5 months ago #906 by Yan
Replied by Yan on topic EU e-Privacy Directive - style
Hi
Thanks gor your response.

How can I change the font color and size of the EU message "EU e-Privacy Directive", and the background colour of the system message box.
.plg_system_eprivacy_module .plg_system_eprivacy_message {
border:1px solid #a9a900;
background-color:#ffffe1;
padding:5px;
}
.plg_system_eprivacy_module .plg_system_eprivacy_message button.plg_system_eprivacy_agreed {
color:#000;
background-color:#0f0;
}
.plg_system_eprivacy_module .plg_system_eprivacy_message button.plg_system_eprivacy_declined {
color:#fff;
background-color:#f00;
}

inspect button element shows
<button class="plg_system_eprivacy_agreed">I agree</button>

debug console is saying
The EU e-Privacy Directive extension REQUIRES the eprivacy module to be published.
yet the module and plugins are published.

I de-activated all then re-activated; and changed the mod menu page assignment from all pages to none and back to all pages; and the buttons started working.... weird.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #907 by michael
How to change the text color - it's right there in the CSS.

The first color:#000 is the text color of the module (black)
The second color:#fff; is the text color of the buttons (white)

If you're asking what to change it to - then you need a designer with a color hex tool to figure that out.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #908 by Yan
Replied by Yan on topic EU e-Privacy Directive - style
Hi

I still cannot change the font color of the text title EU e-Privacy Directive; must be to do with my template.

I must have done something strange, as now I get a menu option mod_euprivacy appearing in my menus.
Any ideas?

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #909 by michael
1. what display method did you choose?
2. I think you're seeing the module title - a setting in the module that you can turn off.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #910 by Yan
Replied by Yan on topic EU e-Privacy Directive - style
HI

Using Systtem Message.

If I have turned off the show title for the module, I then get a blank line in my menu.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #911 by michael
OK, the system message type styles are controlled by your template. My plugin can't affect those styles - that's your template.

The module displaying a blank (I'm guessing you mean some kind of empty box) is also a function of your template. You can try putting the module somewhere else - like the debug position (usually at the bottom of the page if your template implements debug)

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Powered by Kunena Forum