How to add a text shadow effect in intro slideshow headlines

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Aug 19, 2013 10:53 am
Reply with quote
Report this post
The white description text used for each slide in the frontpage (using Image Show GK) is not so clear due to the the image behind it.

It would be better to get a shadow effect on the text to solve this.

Is this possible?
User avatar
Gold Boarder

GK User
Mon Aug 19, 2013 1:17 pm
Reply with quote
Report this post
You could use css3 drop shadow on:
.gkIsWrapper-gk_creativity .figcaption h1
.gkIsWrapper-gk_creativity .figcaption h2
User avatar
Moderator

GK User
Mon Aug 19, 2013 2:54 pm
Reply with quote
Report this post
Could you please give me hints on how to implement this? :side:
User avatar
Gold Boarder

GK User
Mon Aug 19, 2013 9:55 pm
Reply with quote
Report this post
As Cyberek said above, this can be accomplished with the addition of CSS rules. I did this exact thing for the same reason on our latest site using the creativity template: http://chriswramsey.com

If you are not familiar with CSS for text shadows, you can read up here: http://www.w3schools.com/cssref/css3_pr_text-shadow.asp

You can add the style rules to the template style sheet which can be accessed via the template manager (or download and edit via ftp).
User avatar
Junior Boarder

GK User
Tue Aug 20, 2013 4:26 pm
Reply with quote
Report this post
You can use:
http://css3generator.com/
to generate the declarations, and just put them iside override.css (enable it first in tempalte settings), so they look this way:
Code: Select all
.gkIsWrapper-gk_creativity .figcaption h1 {text-shadow: 1px 1px 2px #000000;
        filter: dropshadow(color=#000000, offx=1, offy=1);}
.gkIsWrapper-gk_creativity .figcaption h2 {text-shadow: 1px 1px 2px #000000;
        filter: dropshadow(color=#000000, offx=1, offy=1);}


(its just a sample of settings).
User avatar
Moderator

GK User
Tue Aug 20, 2013 4:26 pm
Reply with quote
Report this post
PS, never modify template stylesheet files, always use override.css.
For creativity template it is located in:
/templates/gk_creativity/css/override.css
User avatar
Moderator

GK User
Tue Aug 20, 2013 7:52 pm
Reply with quote
Report this post
Cyberek wrote:You can use:
http://css3generator.com/


Oh, that's sweet, I hadn't seen that generator before... Very nice tool!

Thanks for the link :)
User avatar
Junior Boarder

GK User
Tue Aug 20, 2013 8:44 pm
Reply with quote
Report this post
Great, it worked!
Thank you for very good support :!:
User avatar
Gold Boarder

GK User
Tue Aug 20, 2013 9:38 pm
Reply with quote
Report this post
this generator is the only "all in one place" i have found. its laggy sometimes, but saves a lot of time.
User avatar
Moderator


cron