Tagged: x
-
AuthorPosts
-
January 30, 2017 at 1:15 am #1350358
kateanitaParticipantHello, how can I add a “view post” link after the links to individual blog posts in the sidebar on the main blog archive page? I’m referring to the links on the right side of the screen here: http://homefed.stapkodesign.com/noteworthy/
I’m using Ethos and have the most recent version of everything.
Thank you!
Katie
January 30, 2017 at 1:56 am #1350389
LelyModeratorHello Katie,
Please add this CSS on Appearance > Customize > Custom > Edit Global Javascript:
jQuery ( function( $ ) { $('<span>VIEW POST </span>').appendTo('.x-sidebar #recent-posts-3.widget ul li a'); });Also add this CSS on Appearance > Customize > Custom > Edit Global CSS:
.x-sidebar #recent-posts-3.widget ul li a span{ display: block; color: red; text-align: center; text-decoration: underline; }Feel free to customize the CSS for the VIEW POST design.
Hope this helps.
January 31, 2017 at 6:06 pm #1352932
kateanitaParticipantWorked perfectly – thanks so much!
January 31, 2017 at 8:42 pm #1353105
NicoModeratorHappy to hear that.
Feel free to ask us again.
Thanks. 🙂
February 1, 2017 at 1:09 pm #1354102
kateanitaParticipantHi – one more quick question – how can I add the “view post” to the individual blog page sidebars as well? Like here: http://homefed.stapkodesign.com/2017/01/18/market-common-celebrates-new-years-eve-bands-mirror-ball-drop-fireworks-9000-revelers/
Thanks so much!
Katie
February 1, 2017 at 7:08 pm #1354561
LelyModeratorHello Katie,
Please update JS code to this:
jQuery ( function( $ ) { $('<span>VIEW POST </span>').appendTo('.x-sidebar .widget.widget_recent_entries ul li a'); });Then update CSS code to this:
.x-sidebar .widget.widget_recent_entries ul li a span{ display: block; color: red; text-align: center; text-decoration: underline; }Hope this helps.
February 2, 2017 at 12:20 pm #1355515
kateanitaParticipantYou are the best, thank you! Worked perfectly.
February 2, 2017 at 12:29 pm #1355528
Prasant RaiModeratorYou’re welcome! We are just glad we were able to help you out.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1350358 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
