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.

Type / font drop shadow

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

There is a drop shadow on all the type that is used in Focus2. I can't seem to find where this is controlled. I would like it to be darker and bigger is there a way to do that?
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi

You need to add this line and adjust the thickness and the rgba values

html {
text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The last value is the alpha value which goes from 0 to 1

with 1 being not transparent and 0 completely transparent

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Thanks Paul. Just curious is it better to use rgba instead of hex codes?
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
Last Edit: 8 years 1 month ago by nycps.
The administrator has disabled public write access.
As I understand it browsers don't really care (now IE8 is buried in a lead lined box)

Personally, I find rgba harder to read than hex

CSS wise as long as you aren't doing complicated stuff it shouldn't matter either way

I think most programmers still largely use Hex

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
I should also mention there is

Hue Saturation Lightness alpha or hsla :)

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
english paul, english. what the heck is Hue Saturation Lightness alpha or hsla

so if you guys prefer hex codes why do i keep seeing rgb in your templates? ok don't answer that question. Just thought i would put it out there.
  • nycps's Avatar
  • nycps
  • LIfetime Developer - Big Bamboo
  • 193 posts
  • 2 Thanks
  • Karma: 0
The administrator has disabled public write access.
Hi again,

My preference for hex was personal :)

Although I am used to working with rgb in photoshop

I don't think people use HSLa much - I know we don't but I thought I'd inform you about it

ironion.com/colors-on-the-web-rgb-vs-hex-vs-hsla/

A lot of the options reflect legacy issues e.g IE8

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