Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

One Menupoint other background color

11 years 3 months ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi there

Is is possible that make one menupoint an other background of the others? I like to have the menupoint for ex. "Events" only with the background color in red.

thanks for your help,
andre

Attachments:
11 years 3 months ago
Licenses:

Hi,

you can put this this at [joomla site root]/templates/socialize/css/custom.css (create this file if not exist)

.t3-megamenu .navbar-nav li:nth-child(6) a, .t3-navbar-collapse .navbar-nav  li:nth-child(6) a {
  background-color: #ff0000;
  color: #ffffff;
}

Regards

11 years 3 months ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Albertus

Thanks for your help. Just one question/issue about this:

Now also the submenu is another color :-(

How can i do this, that just the mainmenu is another color?

Thanks,
Andre

Attachments:
11 years 3 months ago
Licenses:

Hi,

here the fix

.t3-megamenu .navbar-nav > li:nth-child(6) > a, .t3-navbar-collapse .navbar-nav > li:nth-child(6) > a {
  background-color: #ff0000;
  color: #ffffff;
}

Regards

The following user(s) said Thank You: André
11 years 3 months ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Albertus

Last question about this topic:

How can i do, that the selectet (active) button is blue?

Thanks,
Andre

11 years 3 months ago
Licenses:

Hi,

here the CSS

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
  background-color: #0000ff;
}

Regards

11 years 3 months ago
  • André's Avatar
    Topic Author
  • André
  • Offline
  • Fresh Boarder
  • Posts: 31
  • Thank you received: 1
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi Albertus

I meant the button from the "child 8".

Now the button is, when he is active the same color with the other menu - but i like, that color from "child 8" is blue when he is active.

The code for this is:

.t3-megamenu .navbar-nav > li:nth-child(8) > a, .t3-navbar-collapse .navbar-nav > li:nth-child(8) > a {
background-color: #ba4500;
color: #ffffff;
}

But i dont know how can i do this, that the active is blue!

thanks for your help again,
andre

11 years 3 months ago
Licenses:

Hi,

here the code

.t3-megamenu .navbar-nav > li.current:nth-child(8) > a, .t3-navbar-collapse .navbar-nav > li.current:nth-child(8) > a {
  background-color: #0000ff;
}

Regards

The following user(s) said Thank You: André
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW