Tagged: x
-
AuthorPosts
-
October 16, 2016 at 4:05 pm #1218511
leehart09ParticipantHello,
I’m hoping you might be able to help me make a few changes to the what happens on the featured image of blog posts. I know this is something I had found answers to before in relation to portfolio items on another site, but not sure how exactly I achieved it. There are 3 things I’d like to do:
1. Remove the dark background that appears when you hover over the image
2. Change the icon from links to a heart icon
3. Remove the wording “permalink to : “…” ” when you hover over the image.
Is this something that you could help me with?
Many thanks.
October 16, 2016 at 4:06 pm #1218513
leehart09ParticipantThis reply has been marked as private.October 16, 2016 at 8:51 pm #1218790
Rue NelModeratorHello There,
Thanks for providing the login url! Regretfully there is something wrong with your site. We are seeing this:

Please ask assistance from your hosting provider. They surely know what is going on at the moment.
Please let us know how it goes.
October 17, 2016 at 1:35 am #1218988
leehart09ParticipantI’m not sure what was happening – I’ll contact the hosting provider to check. It seems to be working on my end – are you able to access it now?
October 17, 2016 at 1:45 am #1218995
RupokMemberHi there,
It seems opening on my end. Let’s me try to answer for you.
#1. You can add this under Child Theme’s CSS : Custom > CSS in the Customizer.
.blog .entry-thumb { background-color: transparent; } a.entry-thumb:hover img { opacity: 1; }#2. If you want to do this, you need to place the below code within Child Theme’s CSS. It won’t work within Customizer :
.blog a.entry-thumb:hover::before { content: "\f004"; }#3. You can add this under Custom > JavaScript in the Customizer.
jQuery(document).ready(function($){ $('.blog a.entry-thumb').attr('title',''); });Hope this helps.
October 17, 2016 at 2:52 am #1219041
leehart09ParticipantEverything worked perfectly! Thank you – you’ve been such a help! 🙂
October 17, 2016 at 2:57 am #1219046
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
October 18, 2016 at 3:50 am #1220511
leehart09ParticipantHi again Rupok!
I’ve just looked through the other pages on my site, and I realised that the changes we made only affect the appearance of the Blog page itself. Is it possible to extend this effect (i.e. removal of permalink wording, dark background on hover, and change icon to heart) to the ‘Recent Posts’ I have on my homepage, and also the Category and Sub-Category pages for the blog posts.
Thanks,
Catherine
October 18, 2016 at 4:32 am #1220552
Paul RModeratorHi Catherine,
Yes it’s possible.
You can add this in your child theme’s style.css
body .x-recent-posts .format-standard .x-recent-posts-img:before { background-color: hsl(323,88%,40%); content: "\f004"; border-radius: 50%; } body .x-recent-posts a:hover .has-post-thumbnail .x-recent-posts-img:after { background-color: #fff; opacity: 0.6; } body .entry-thumb:before { content: "\f004"; } body .entry-thumb { background-color: #fff; }Hope that helps.
October 18, 2016 at 4:58 am #1220579
leehart09ParticipantThank you! It seems to have changed the appearance site-wide!:) However, I’m still getting the “permalink to” text appear on hover.
Can we remove this site-wide?
October 18, 2016 at 5:23 am #1220606
Paul RModeratorHi,
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery(document).ready(function($){ $('.x-recent-posts a').attr('title',''); $('body .entry-thumb').attr('title',''); });Hope that helps
October 18, 2016 at 5:29 am #1220608
leehart09ParticipantThat did it! Thank you! 🙂
October 18, 2016 at 5:51 am #1220643
Paul RModeratorYou’re welcome! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1218511 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
