hi all. I am trying to change the ugly buttons in the profile owner block to links (like the links below the buttons) but I cannot seem to do it. Been into profile plugin owner block & tried to change the class but had no luck. Can anyone help please?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
.elgg-menu-owner-block li a in views\default\css\elements\navigation.php
That doesn't help me at all I am afraid. I need to change the class used by those items, but not change core CSS
In Elgg root installation -> views\default\css\elements\navigation.php
1 - Just open this file
2 - Find .elgg-menu-owner-block li a CSS style code
You need to create your own CSS file with this class
That's changing the core. No thanks. I don't want to change the core. I don't want to change the actual class it was using. Just use a different class... Besides, already changed the class in profile plugin owner block. I need to stop the buttons appearing only in that place & instead have those items as simple links. Thing is, it's not working even when I try and use same class as the links under the buttons?
I think he meant that you need to create your own plugin that has a copy of the class.
Is it possible that your changes aren't showing because you have the cache settings turned on?
But I don't want to use that class in the profile owner block. It's fine elsewhere though. Please! How do I modify the profile plugin ownerblock.php so the buttons are replaced by simple links? And why do elgg devs speak in riddles & rarely willing to actually provide the solution to non-devs like me?
I have tried flushing the elgg cache. No dice.
Just backtrack a little.
@adc Create your own theme/plugin with your own CSS styles.
Or override the profile's owner block menu/section.
Take core's file for it like an example.
- Previous
- 1
- 2
- Next
You must log in to post replies.