-
AuthorPosts
-
March 23, 2012 at 9:38 am #175317
in that position I’ve inserted this code
<div class="banner-text">Tel. +39 123 1234567 | info@domain.it</div>
and I’ve disabled the parsing of the email address otherwise this appear as a link using the same color of the other links in the site (like Un estate su due ruote).
I would like to make that email clickable leaving it white. How can I do that?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 23, 2012 at 9:56 am #445295You would not normall disable the parsing of the email address but instead create a custom module class. In the custom module class you can adjust the css styling just for this module and set your link to be white.
March 23, 2012 at 10:40 am #445300Phill I know that that’s the solution. Problem is that I’m not able to create a custom module class…
March 23, 2012 at 10:48 am #445302That’s the class to modify
div.banner-text {
background: url(../images/text-banner-bg.jpg) no-repeat 0px 0px;
color: #fff;
font-family: Georga, "Times New Roman", serif;
font-size: 175%;
height: 65px;
line-height: 65px;
text-align: center;
width: 100%;
}What I’ve to add to make the link white?
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
March 23, 2012 at 11:02 am #445303Probably something like
div.banner-text a:hover {
background: url(../images/text-banner-bg.jpg) no-repeat 0px 0px;
color: #fff;
font-family: Georga, "Times New Roman", serif;
font-size: 175%;
height: 65px;
line-height: 65px;
text-align: center;
width: 100%;
}using the a:hover attribute
March 23, 2012 at 11:10 am #445304Solved, thank you very much!
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 2 voices, and was last updated by andreamarucci 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Little question on position User 4 – Small Banner
Viewing 6 posts - 1 through 6 (of 6 total)