Tagged: x
-
AuthorPosts
-
May 4, 2016 at 5:46 pm #913358
cleflerParticipantHi,
I got some help previously to align blockquotes when there are featured images but when I decided to use the cite feature it looks like the attached image…the cite gets put off to the side.
Anyway to fix it?Here is a page with the effect towards the bottom:
Here is my current blockquote customization and featured image customization:
blockquote {
font-family: ‘Open Sans’, Arial, Helvetica, sans-serif;
font-style: italic;
font-size: 16px;
border-left: 8px solid #ccc;
margin: 1.5em 10px;
padding: 0.5em 10px;
}.single .entry-featured {
float: left;
max-width: 300px;
width: 30%;
margin-right: 2em;
}.mtn{
float: left;
max-width: 300px;
width: 30%;
margin-right: 2em;
}May 4, 2016 at 11:36 pm #913752
LelyModeratorHello There,
Thank you for posting in. Upon checking, the issue is caused by the following custom CSS:
.has-post-thumbnail blockquote{ display:grid; display:-webkit-box; display:-moz-box }Please remove that and then try again.
Hope this helps.
May 5, 2016 at 8:20 am #914235
cleflerParticipantUnfortunately if I remove that then the original issue shows up again, the featured image and blockquote overlap.
May 5, 2016 at 12:56 pm #917060
JadeModeratorWould you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 5, 2016 at 1:06 pm #917069
cleflerParticipantThis reply has been marked as private.May 5, 2016 at 10:10 pm #978086
LelyModeratorHello There,
Please update this custom CSS:
.mtn { float: left; max-width: 300px; width: 30%; margin-right: 2em; }To this:
.page-id-1146 .entry-featured{ float: left; max-width: 300px; width: 30%; margin-right: 2em; }By default, mtn will set top margin to zero. Above re-declaration will cause issues every time you use mtn.
Then also update this:
.has-post-thumbnail blockquote{ display:grid; display:-webkit-box; display:-moz-box }To this:
.has-post-thumbnail .entry-content> blockquote:first-of-type { display: grid; display: -webkit-box; display: -moz-box; }This line:
.has-post-thumbnail .entry-content> blockquote:first-of-typewill make sure that it will only affect the first blockquote with overlapping issue.Hope this helps.
May 6, 2016 at 8:00 am #978551
cleflerParticipantHey thanks so much for the detailed review.
Does it have to call out a specific page?
I will test….May 6, 2016 at 1:06 pm #978894
JoaoModeratorHi,
Test and let us know how it goes.
If you want to call out the specific page you need to use the “.page-id-” before the code like on the example below.
.page-id-1146 .entry-featured{ float: left; max-width: 300px; width: 30%; margin-right: 2em; }Let us know if you need further help,
Thanks,
Joao
May 19, 2016 at 10:25 pm #1000821
cleflerParticipantNone of the changes seem to be working:
Here is a post that uses the block/cite shortcode and the citation is misaligned.May 19, 2016 at 11:34 pm #1000901
RupokMemberHi there,
You need to add right page ID since the above one is just example. Provide us an exact page URL where you want to add this.
Thanks
May 20, 2016 at 12:05 pm #1001816
cleflerParticipantI would like it to be for every post. Pages I will edit with cornerstone and will not use the featured image. But posts I would like them all to start with a quote.
May 20, 2016 at 7:20 pm #1002272
Rue NelModeratorHello There,
Since you want to apply the css to all of your posts, simply remove the
.page-id-{123}selector class and replace it with.single-post. It will then be like this:.single-post .entry-featured{ float: left; max-width: 300px; width: 30%; margin-right: 2em; }Hope this helps.
May 24, 2016 at 11:34 am #1007559
cleflerParticipantThat makes sense but still doesn’t work.
Here is what I am using…must be missing something?.has-post-thumbnail blockquote {
display: grid;
display: -webkit-box;
display: -moz-box;
}
.single-post .entry-featured{
float: left;
max-width: 300px;
width: 30%;
margin-right: 2em;
}May 24, 2016 at 11:39 am #1007566
cleflerParticipantThis also does not work….
.has-post-thumbnail .entry-content> blockquote:first-of-type {
display: grid;
display: -webkit-box;
display: -moz-box;
}
.single-post .entry-featured{
float: left;
max-width: 300px;
width: 30%;
margin-right: 2em;
}May 24, 2016 at 4:14 pm #1007961
FriechModerator -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-913358 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>

