-
AuthorPosts
-
October 29, 2015 at 3:16 pm #720162
Hi everyone, hope one of you can help me.
I’ve just created a new extended class item for my website, the Portugal Travel Guide (http://www.portugaltravelguide.com).
For some reason, the text (which should read PIC over the gold-coloured background) isn’t covering the logo but covering the title wording (in this case, Cottage) instead (please see image attached);
If someone can suggest why or can see something wrong in the CSS coding, then please let me know.
Thanks very much in advance.
Mark
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 30, 2015 at 4:05 am #720297Hi Mark,
In the file: http://www.portugaltravelguide.com/templates/ja_wall/themes/retro/css/theme.css , at approx line 806, check the declaration for that text:
.item-pic .header > h2::before {
background: rgba(0, 0, 0, 0) url("../images/bg-pic.png") no-repeat scroll left top;
border-radius: 0;
color: #fff
content: "Pic";
display: inline-block;
font-family: "Droid Sans",sans-serif;
font-size: 10px;
height: 20px;
left: -3px;
line-height: 18px;
padding: 0 5px 0 10px;
position: absolute;
text-align: left;
text-indent: 0;
text-transform: uppercase;
top: 20px;
vertical-align: top;
width: 40px;
z-index: 500;
}
And add text-indent: 0; property as highlighted above
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 30, 2015 at 4:05 am #753309Hi Mark,
In the file: http://www.portugaltravelguide.com/templates/ja_wall/themes/retro/css/theme.css , at approx line 806, check the declaration for that text:
.item-pic .header > h2::before {
background: rgba(0, 0, 0, 0) url("../images/bg-pic.png") no-repeat scroll left top;
border-radius: 0;
color: #fff
content: "Pic";
display: inline-block;
font-family: "Droid Sans",sans-serif;
font-size: 10px;
height: 20px;
left: -3px;
line-height: 18px;
padding: 0 5px 0 10px;
position: absolute;
text-align: left;
text-indent: 0;
text-transform: uppercase;
top: 20px;
vertical-align: top;
width: 40px;
z-index: 500;
}
And add text-indent: 0; property as highlighted above
1 user says Thank You to Saguaros for this useful post
October 30, 2015 at 11:26 am #720512That’s perfect.
Thank you very much!
Joomlart rocks. I’m so pleased I chose your template, I couldn’t be happier.
Here’s wishing all you guys a great weekend.
MarkOctober 30, 2015 at 11:26 am #753350That’s perfect.
Thank you very much!
Joomlart rocks. I’m so pleased I chose your template, I couldn’t be happier.
Here’s wishing all you guys a great weekend.
MarkOctober 30, 2015 at 6:27 pm #720542Another quick question related to the previous one. The new ‘Pic’ extended class item works perfectly on my laptop but doesn’t appear on my smartphone. How can I tweak this?
Many thanks once again.
MarkOctober 30, 2015 at 6:27 pm #753380Another quick question related to the previous one. The new ‘Pic’ extended class item works perfectly on my laptop but doesn’t appear on my smartphone. How can I tweak this?
Many thanks once again.
Mark -
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by Saguaros 9 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum