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

Is ribbon at bottom possible?

More
3 years 2 months ago #1182 by WoodyF4u
Hi,
The ribbon is on top of the screen by default.
Is it possible to show the ribbon at the bottom of the screen?

Best regards,
Wouter
The Netherlands

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

More
3 years 2 months ago #1187 by michael
Easy as pie

In the system plugin, on the Ribbon Display Options tab, edit the CSS.

add this to activebar-container:

bottom:0px;
top:auto;

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

More
3 years 2 months ago #1219 by WoodyF4u
Thanks a lot.
That solved my question.

I have changed the text-align too.
So now the cookie text is now centered.
But I can't find the solution to have the two buttobns centered too.
Can you help me with it?

Best regards,
Wouter
The Netherlands

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

More
3 years 2 months ago #1232 by michael
Add/replace the following to your system plugin CSS for these two selectors:

.activebar-container {
text-align:center;
}

.activebar-container button {
float:none;
}

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

More
3 years 2 months ago #1247 by WoodyF4u
Great!!! Now everything is centered.
But now the "I decline" button is the first button.
How can I set the "I accept"button as the first one?

Best regards,
Wouter
The Netherlands

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

More
3 years 1 month ago - 3 years 1 month ago #1559 by 2borg
Replied by 2borg on topic Is ribbon at bottom possible?
I had the same problem and solved it with the help of a little hack:

open the file: media/plg_system_eprivacy/js/eprivacy.class.min.js and search for the string
var decline=$('<button class="decline '+root.vars.declineclass+'">'+root.translate('DECLINE')+'</button>').appendTo(ribbon);var accept=$('<button class="accept '+root.vars.agreeclass+'">'+root.translate('AGREE')+'</button>').appendTo(ribbon);

and change the ordering in which the decline and agree variables are appended to the ribbon.
var accept=$('<button class="accept '+root.vars.agreeclass+'">'+root.translate('AGREE')+'</button>').appendTo(ribbon);var decline=$('<button class="decline '+root.vars.declineclass+'">'+root.translate('DECLINE')+'</button>').appendTo(ribbon);

Be aware that, until some sort of plugin template comes, you will have to do this each time after you update the plugin.
Last edit: 3 years 1 month ago by 2borg.

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