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.

Looking for css, not finding it

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

Hi Paul,

www.quercusmoleculardesign.com/working/projects

This should be something I can do in my sleep, but I've been at it for about 2 hours to no avail.

I am wanting to adjust the css for the zen-slide-trigger block, to change colors.

.block {
padding: 30px;
margin-bottom: 30px;
background: #474747;
}

I've tried copying and pasting the entire template css into textwrangler and searching for to try to find it. I've tried a zillion iterations.

I'm crying "Uncle".

Sorry to bother you with what should be a trivial issue. I want to change that background color #474747 to something else.

I can do it in Chrome element window, can't make the leap to custom css file.

Time to walk away from it for awhile! Meanwhile, can you point me to the css for this?

Thanks!
  • swellking's Avatar
  • swellking
  • 12 Month basic
  • 420 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Hi

You have two errors in the css

Error 1

.moduletable.shadow, .inset.shadow .zen-module-body, div.shadow {
box-shadow: 0 0 0 3px rgba(0,0,0,0.08), ;
padding: 20px;
}

an extra ,
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Error 2

#bannerwrap .zen-spotlight .homebanner {
padding-right: 75px;

missing closing bracket
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Error 3

.zen-slide-trigger

no set of brackets { }
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
With those errors corrected

This style now works

.block{padding: 30px;margin-bottom: 30px;background: #eeeeee;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I would change the style to something a bit more precise rather
than .block

so something along the lines of

.zen-slide-trigger.block{padding: 30px;margin-bottom: 30px;background: #eeeeee;}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks! I didn't know that an error above messes up everything else! Wow, good to know.
B) B) B)
  • swellking's Avatar
  • swellking
  • 12 Month basic
  • 420 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
Errors cascade down the file

The cascade may stop hitting a comment but generally speaking an error breaks everything after it

If you are confident a style is correct paste it to the top of a file and see if it works - if it does then you know there is error in the code further down the code
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks!
  • swellking's Avatar
  • swellking
  • 12 Month basic
  • 420 posts
  • 1 Thanks
  • Karma: 1
The administrator has disabled public write access.
No problem

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