-
AuthorPosts
-
adrienne pitman Friend
adrienne pitman
- Join date:
- September 2007
- Posts:
- 53
- Downloads:
- 28
- Uploads:
- 7
- Thanks:
- 2
February 23, 2016 at 9:38 pm #889428Instead of picking the social icons from the chosen blue theme image path, the template is loading them from the general image path.
The template is running in development mode, therefore it should be picking LESS variables.
I’ve cleared the cache on my browser and there’s no server side caching of any kind.templates/ja_nex_t3/less/themes/blue/variables.less shows
@T3ThemeImagePath: "@{T3BaseImagePath}/themes/blue";
whereas template.less states
background-image: url("@{T3ThemeImagePath}/icon-facebook.png"); background-image: url("@{T3ThemeImagePath}/icon-twitter.png"); background-image: url("@{T3ThemeImagePath}/icon-linkedin.png");
among others.
All invoked files are stored in templates/ja_nex_t3/images/themes/blue and I have confirmed that the images are in deed blue.
Finally, it worked correctly at some point, but not anymore.
What could have gone amiss?
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 25, 2016 at 8:09 am #890123Hi @adrienne pitman,
Thanks for your patience. As I can see in your site, there’s no problem with those icons, could you please confirm your status ?
adrienne pitman Friendadrienne pitman
- Join date:
- September 2007
- Posts:
- 53
- Downloads:
- 28
- Uploads:
- 7
- Thanks:
- 2
February 25, 2016 at 12:32 pm #890256The problem is not solved.
Instead of addressing the issue, you’ve merely moved the head-social position back into the header block and then created a new position called head-social-1 in the top header block. This, in my book, is basically cheating.
I want to display the social icons in the head-social position on the top header block and the template picks the image from the wrong location when I do that. Please do not touch the layout, as it has nothing to do with the reported issue.
The real question at hand is why does the template retrieve the social icons from the wrong folder when the head-social position loads in any block other than header. Thank you.
Nuno, Developer at RTVN.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
February 26, 2016 at 5:45 pm #890974Hi @adrienne pitman,
Yes, indeed the problem is still remain until you confirmed so. Please note that there’s no reason for us to login to your site, change something, then come back and ask you about the status. Even if we have to do so, it would be for the last case, after we asked you (customer) that we will have to do that. If you take a quick look around the forum, you can see that we only provide you the code to fix the problem or suggest you to fix it, that’s all.
Back to your matter, I checked it at my end and look like the code is fixed to header block only, so you can open file templates/ja_nex_t3/less/themes/blue/template.less and look for this part :
.t3-mainnav { .logo-image a { background-image: url("@{T3ThemeImagePath}/logo-ltr.png"); } .ja-social .social { .ico-facebooks { background-image: url("@{T3ThemeImagePath}/icon-facebook.png"); border: none; } .ico-twitters { background-image: url("@{T3ThemeImagePath}/icon-twitter.png"); } .ico-rss { background-image: url("@{T3ThemeImagePath}/icon-rss.png"); } } }
remove the wrapper class as below :
.logo-image a { background-image: url("@{T3ThemeImagePath}/logo-ltr.png"); } .ja-social .social { .ico-facebooks { background-image: url("@{T3ThemeImagePath}/icon-facebook.png"); border: none; } .ico-twitters { background-image: url("@{T3ThemeImagePath}/icon-twitter.png"); } .ico-rss { background-image: url("@{T3ThemeImagePath}/icon-rss.png"); } }
I also raised a bug report here so our development team can fix it in next version.
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 4 replies, has 2 voices, and was last updated by Adam M 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
social icons not being picked from theme image path
Viewing 5 posts - 1 through 5 (of 5 total)