Duplicate entry \'8333026\' for key \'jos_fb_whoisonline.PRIMARY\' SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1714281491\', \'How set the same colors as the template\\\\'s topmenu?\',\'\',\'\',\'view\',\'https://www.ari-soft.com/index.php?option=com_kunena&Itemid=54&catid=33&func=view&id=19473&lang=en\', \'3.143.228.40\', \'0\')
How set the same colors as the template's topmenu?
(0 viewing)
| | |
TOPIC: How set the same colors as the template's topmenu?
|
How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 0
|
I am very newbie about css and i need your help.
I installed the ARI YUI Menu for the top menu of joomla 1.7 but the colors and fonts are different from the template...
Please help me to set the same colors and fonts.
My site is at : ka8odon.com/tube/
|
|
|
|
|
Re:How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 748
|
Hello,
This post contains information about menu HTML layout and CSS classes. It can be used to customize the menu. You can also use FireBug addon for FireFox browser to investigate menu styles.
Regards,
ARI Soft
|
|
|
|
|
Re:How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 0
|
I dont know css but i wrote this (at CSS Styles):
#nav .yuimenubar UL
{
background: url(templates/desertlab/images/separ.png);
}
but i cant change the default background color and font color...
Please help me about this.
|
|
|
|
|
Re:How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 748
|
Use the next CSS rules:
Code: |
#nav UL LI A
{
color: #FAFAFA !important;
}
#nav UL LI.yuimenubaritem-selected,
#nav UL LI.yuimenuitem-selected
{
background: none #B14E4E !important;
}
|
Regards,
ARI Soft
|
|
|
|
|
Re:How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 0
|
When i am at "Home" all works fine.
But when i press a menu item ("Sample Sites" or "Categories"):
1) the background become white and
2) the submenu dont appeared
See at ka8odon.com/tube/
How can i resolve this ?
|
|
|
|
|
Re:How set the same colors as the template's topmenu? 12 Years, 7 Months ago
|
Karma: 748
|
The problem with your custom CSS rules. Use the next one:
Code: |
#nav .yuimenubar UL LI UL {
background: url("/tube/templates/desertlab/images/separ.png") repeat scroll 0 0 transparent;
width: auto;
}
#nav .yuimenubar UL {
background: url("/tube/templates/desertlab/images/separ.png") repeat scroll 0 0 transparent;
}
|
instead of:
Code: |
#nav .yuimenubar UL LI UL {
background: url("templates/desertlab/images/separ.png") repeat scroll 0 0 transparent;
width: auto;
}
#nav .yuimenubar UL {
background: url("templates/desertlab/images/separ.png") repeat scroll 0 0 transparent;
}
|
PS: You CSS rules doesn't work due to SEF enabled.
Regards,
ARI Soft
|
|
|
|
|
|
| | |