Tagged: x
-
AuthorPosts
-
August 2, 2016 at 5:04 am #1113507
instadesignParticipantI would like to show quotation marks before and after blockquotes, however the ‘x-cite’ class is nested within the ‘x-blockquote’ class therefore if I add the close quotation mark in ‘.x-blockquote:after’ it comes after the citation which of course looks wrong. The only workaround I can think of is to add it instead to .x-blockquote cite:before but that seems really hacky… any suggestions?
Thanks,
Henry
August 2, 2016 at 5:12 am #1113522
ChristopherModeratorHi there,
Please add quotation marks directly to your content. Even if you target
.x-blockquote cite:beforethe quotation mark wouldn’t be displayed at right place.Hope it helps.
August 2, 2016 at 5:56 am #1113566
instadesignParticipantI know I can do that but I wanted to style the quotation marks… I guess the only thing I can do then is to add a <span> within the blockquotes and teach my client to do that…
August 2, 2016 at 6:10 am #1113586
LelyModeratorHello Henry,
Based on the current structure that’s the most easiest way to achieve that. Wrap the content inside span tag and then use add the following CSS:
.x-blockquote span:before, .x-blockquote span:after { content: '"'; }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1113507 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
