How to get a shadow effect on K2 item text

GK User
Sat Jun 07, 2014 4:39 pm
If you look at this website (http://gaiatellus.org/) you will see that the text will "disappear" in the background picture. I would like to know if it could be possible to add a shadow effect on only the first page (using a K2 item).

Is this possible?
User avatar
Gold Boarder

GK User
Sun Jun 08, 2014 1:01 pm
User avatar
Moderator

GK User
Sun Jun 08, 2014 1:29 pm
Great! So I have now created a suffix called "welcome" and added to the override.css the following code:

Code: Select all
.welcome #gkMainbody {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
}


But now I would like to add the text-shadow-effect for this page. Please give me an example code based on the above on how to accomplish this.
User avatar
Gold Boarder

GK User
Mon Jun 09, 2014 4:00 pm
You can try this way:
Code: Select all
.welcome #gkMainbody .itemFullText {text-shadow: 1px 1px 1px #000;}
User avatar
Moderator

GK User
Mon Jun 09, 2014 6:45 pm
Cyberek wrote:You can try this way:
Code: Select all
.welcome #gkMainbody .itemFullText {text-shadow: 1px 1px 1px #000;}


Works wonderfully :laugh:
Thank you for good support!
User avatar
Gold Boarder

GK User
Tue Jun 10, 2014 7:26 pm
Is there anything else I can help you with on this topic?
User avatar
Moderator

GK User
Tue Jun 10, 2014 8:51 pm
Cyberek wrote:Is there anything else I can help you with on this topic?



Well, actually the shadow effect is not working anymore. The code is untouched in the override.css. Can you please check it out again to see what could cause it?
User avatar
Gold Boarder

GK User
Wed Jun 11, 2014 10:20 am
You have edited the module and moved some part to intro text, now the selector doesn't work.
Code: Select all
.welcome #gkMainbody .itemFullText,
.welcome #gkMainbody itemIntroText {text-shadow: 1px 1px 1px #000;}

Above one should work fine.
User avatar
Moderator

GK User
Wed Jun 11, 2014 6:34 pm
Thanks! All works fins now! :blush:
User avatar
Gold Boarder


cron