Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

using rgba in template settings

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Hi Paul
I've changed the menu colours using the template options. I've got a white background but I'd like to add a little transparency and haven't managed to get the template settings to take rgba input. Is this something I need to do via the custom css file or is there a magic syntax?

Thanks as always
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

Are you referring to the main body area of the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sorry - Paul - no, the background to the dropdown menu. I've made it white which works with the hex fff but I just want to add a little transparency. I've tried rgba(255, 255, 255, 0.7) without joy.
The other thing I'm trying to do is clear the disc list type in the menu but whatever specificity I try has no effect and I can't seem to find where it's coming from in the console even on the demo site.
Sorry to trouble you with this, I feel as though I'm missing something very simple.
By the way please pass on my thanks for the zentools2 update. It's made a big difference to the way it's working for me.
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

Do you have a link for the site?

Thanks
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi - no working locally, but the disc separator is the same on the menu on your demo site. Hoping to launch in the next few days
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

try

#menu ul.first-level ul {background: rgba(255, 255, 254, 0.9);}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Adding it to the custom.css file

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul - it's almost there, the sub groupings, which are grey have gone transparent also - I just wants the main background to have the transparency, is there any way to leave them alone?
Thank you

Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi Jan,

I'm not 100% sure I'm targeting the right area

#menu ul.first-level ul ul {background: rgba(255, 255, 254, 1)}

this targets the 2nd level drop down

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No it's the first level drop down I was after. It may be that the dropdown styles aren't compiling as when I change the dropdown text colours nothings happening either yet they change with the navbar colours. I should have this up in the next few days so I'll ask you to take a look then if I may? I know it's hard for you to this blind. Any idea on how to get rid of the disc from the headings though? Thanks Paul for your tenacity!
Jan
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
right I am confused :)

yes it does sound better to wait till its live
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Regarding discs are you referring to

bullets.png
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Yes, that's it - on the main menu also
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Try adding

#menu ul.first-level > li.parent a:before, #menu ul.first-level > li.parent .zen-menu-heading:before {display: none;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: Janice Jones
You're a superstar - I'd never have found that - Thank-you.
I've managed to get the main first level background transparent using your syntax in the template but I can't seem to change the dropdown link colours. I'll carry on with the tidy ups and get it on line and come back. Pointless asking you to help without seeing it now. Thanks for that Paul I'm very grateful.
Janice
  • Janice Jones's Avatar
  • Janice Jones
  • LIfetime Developer - Big Bamboo
  • 124 posts
  • 5 Thanks
  • Karma: 0
The administrator has disabled public write access.
Thanks Janice,

You're welcome

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers