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.

module in a menu background colour

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

I have a module in a menu.


Screenshot2016-08-1711.43.02.png



Is there a simple way to change the background colour of the module? I tried using module class suffixes but I can't find a list of the options available for this template.
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Jon

I'd add you own suffix class to the module and then use that in the custom css file to change the background colour

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Sadly my css isn't up to that :(
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
Hi

Do you have a link for the site?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
This is for the background colour

.item-219.deeper.parent.zen-group ul {background-color:red;}

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Or are you wanting the text colour instead?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
No it's the background colour I want to change. If I put that css in the custom.css file what do I put in module settings (I'm going for a grey)?
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
Last Edit: 7 years 8 months ago by jonburdon.
The administrator has disabled public write access.
This is specifically targeting the module so you should just paste this into the css and then change to required background colour - if it works

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

There are 2 similar modules on 2 other menus and I need to change red to grey.

Thanks
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
ah I've known that I would have suggested something different

so for the other two check to see what the item class is of the parent item

looks like
.item-195
AND
.item-243

So copy the style twice that I suggested before and replace with the new item classes

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

.item-219.deeper.parent.zen-group ul {background-color:red;}
.item-195.deeper.parent.zen-group ul {background-color:red;}
.item-245.deeper.parent.zen-group ul {background-color:red;}

but no colour change apart from the original module
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
Seeing this at the moment

Warning: Invalid argument supplied for foreach() in /home/planet85/public_html/holytrinity/templates/buildr/zengrid/zen.php on line 1442
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Have you upgraded the template version but not the ajax plugin?
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I've made no changes to either I was just altering module settings and the whole site is now dead. I've tried restoring to a previous day but it's not made a difference. Any ideas?
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
What php version is installed?

Try downloading and installing the latest ajax plugin from the download page
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
PHP version 5.3.26

I've updated all the extensions on the template download page.

Any ideas?
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
Last Edit: 7 years 8 months ago by jonburdon.
The administrator has disabled public write access.
That PHP version won't work with the template you will need to upgrade the PHP version

Other popular up to date extensions like Akeeba won't run on that either I'm afraid

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
Last Edit: 7 years 8 months ago by manh.
The administrator has disabled public write access.
I just switched to a fresh copy of the Buildr Template and that fixed it.
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.
So back to the original problem

I now have 3 bright red boxes.

2 are in the right place.

The 3rd one is on the Resources menu. It should be coloured under Resources -> Resources but the 'Get Involved' area is red instead.

Also I need to change from red to grey. Where can I find a list of colours to choose from (I tried experimenting but it didn't work)?
  • jonburdon's Avatar
  • jonburdon
  • LIfetime Developer - Big Bamboo
  • 860 posts
  • Karma: 0
The administrator has disabled public write access.

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

Happy Campers