Hi to all!
I would like to change the font and the color of Elgg menu, simply I would to do it with background white (like body) and change button color and border.
I attach an image for explain better what I would like. https://postimg.cc/image/l0lugewp7/
Anyone can tell me what css code I have to write (I am using GalliCSS plugin to modify), i have modified the Elgg Button with this code:
p, body {
font-family: "Segoe UI",Tahoma,Calibri,Trebuchet MS,sans-serif;
font-size: 14px;
}
.elgg-button {
font-size: 16px;
font-family: "Calibri",Tahoma,Calibri,Trebuchet MS,sans-serif;
font-weight: bold;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
width: auto;
padding: 2px 4px;
cursor: pointer;
outline: none;
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.40);
}
I am not an expert, so I don't know what code need to have what I would.
Thank you all!
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.
I have tried to copy all code of ELGG MENU in navigations.css of Aalborg Theme and paste it in GalliCSS plugin, now I have the button I want in this way:
I would like to have always that button like "PUBBLICA" in my menu, and when I go on it with mouse it lights (exactly what now I have with button "Pubblica").
I would also center the button of Nav Menu that are too high in the menu.
Last thing, when I go to button "ALTRO" (it is button MORE in English), now the dropdown menu with other entries doesn't remain fixed.
Thank you all for help!
this is the code I used for now:
In first, GalliCSS is an outdated plugin, don't use it.
Just customize the existing CSS. The view overloading is best choice for you (but you need to create your own plugin in this case).
You need to overload these files:
Ok I will change directly the button.css and navigation.css
but can you tell me what code I have to edit to have what I want ?
I'm not a programmer... really thanks !
Don't edit these file directly! Read the mentioned docs
All in views\default\elements\buttons.css
All in section SITE MENU views\default\elements\navigation.css
So, I have to create a plugin to edit menu ?
1 - Make your own plugin (you need manifest.xml and start.php only)
2 - Place your plugin at the bottom on Administration->Plugins
3 - Copy files from
to
4 - Now edit these files
5 - Run flush the caches via Administration
Ok, I have done what you told me, created my first plugin. Hope well :-)
I'm trying. thank you!
I did it for you already. Enjoy!
Ok it seems works fine!
- Previous
- 1
- 2
- Next
You must log in to post replies.