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.

Builder Fonts

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

Looking at achieving this in a traditional CSS file

h1 {color: #006600; font-size: 2.5em; line-height: 1.5em; }
h2 {color: #333333; font-size: 1.7em; line-height: 1.5em; }
h3 {color: #006600; font-size: 1.7em; line-height: 1.5em; }
h4 {color: #333333; font-size: 1.5em; line-height: 1.4em; }
h5 {color: #006600; font-size: 1.5em; line-height: 1.4em; }

Add this to custom.css and it doesn't get picked up as the template.css takes precedence

I use this concept of alternating colour styles when going down longer pages of content using different colours as a way of breaking the visual monotony.

How to best achieve this?
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
Hi Andrew

Have you tried making the styles more specific e.g. adding a class to the heading tag?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Didn't know I could
Show me the way ... oh master <grin>
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
it would be a case of adding something like below to the custom css file

h1.classname1{color: #006600; font-size: 2.5em; line-height: 1.5em;

h2.classname2 {color: #333333; font-size: 1.7em; line-height: 1.5em; }
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
then in the html

<h1 class="classname1">My Heading1 content</h1>

Try that
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
If its not working after that can you post 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.
I have serious browser cache issues with Safari and Firefox
Disable cache and cookies makes no difference.
Changes made and saved are ONLY reflected if I shut down the browser and restart after any change. :S

Vivaldi is the answer for me :)

Apologies for the distraction Paul
  • Andrew's Avatar
  • Andrew
  • 12 Month basic
  • 509 posts
  • 20 Thanks
  • Karma: 10
The administrator has disabled public write access.
I'm make sure its not server caching - siteground has it enabled by default

Good luck with it

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