SSL Labs ScoreSecurityHeaders.io Score

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
4 months 2 weeks ago #1182 by WoodyF4u
WoodyF4u created the topic: Is ribbon at bottom possible?
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
4 months 2 weeks ago #1187 by michael
michael replied the topic: Is ribbon at bottom possible?
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
4 months 2 weeks ago #1219 by WoodyF4u
WoodyF4u replied the topic: Is ribbon at bottom possible?
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
4 months 2 weeks ago #1232 by michael
michael replied the topic: Is ribbon at bottom possible?
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
4 months 1 week ago #1247 by WoodyF4u
WoodyF4u replied the topic: Is ribbon at bottom possible?
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 months 3 weeks ago - 3 months 3 weeks ago #1559 by 2borg
2borg replied the 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 months 3 weeks 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 add attachements.
  • Not Allowed: to edit your message.
Kunena Forum