Rebecca
asked 10 years ago

There is a problem with the post layout when the content is only a few lines that do not fill the maximum width of entry-content. Instead the width of the “entry-content” div block is whatever the width of the text is and right aligned. I’m not sure if this is intended behavior but it makes embedded content look odd. For example, unfiltered html content or plugins which provide shortcodes for embedded content, e.g. Playbuzz plugin and Simple Brightcove plugin, are given a width that is far smaller than the max width instead of the maximum width allowed.

My question is whether there is a fix for this?

Jones
replied 10 years ago

I’m having the same problem, it appears that its the float:right in .entry-content that causes it but setting it to left or none either moves the social media buttons below or to the right of the content!

2 Answers
DominicStaff
answered 10 years ago

@rswanner & @louisajones ! You can send me your site for further checking.

Jones
replied 10 years ago

http://tlm.i1024.co.uk/a-poem-by-manash-bhattacharjee-affirming-the-shared-indo-islamic-culture-and-imagination-of-india/

That’s one of several posts with short sentences that float right. As mentioned above its the .element-content {float:right} causing it but removal/alteration messes up the social sharing

DominicStaff
answered 10 years ago

This issue come from your posts, I have checked your site and you have used  the ” <br> ” tag in the post, you can log in to Dashboard > Posts > Edit post, Open the Text frame then remove the  ” <br> ” tag.

Jones
replied 10 years ago

As you will see if you visit the link again, the line breaks are irrelavent. If you don’t enter enough text to fill the entire width on at least one line then the float: right of the .element-content comes into play!

http://tlm.i1024.co.uk/a-poem-by-manash-bhattacharjee-affirming-the-shared-indo-islamic-culture-and-imagination-of-india/

Dominic Staff
replied 10 years ago

To resolve this issue, you can add the following code to the Header Code (Dashboard > Customize > Custom Code):

Rebecca
replied 10 years ago

This fixed the issue. Was this fix included in recent updates?

Dominic Staff
replied 10 years ago

We will discuss about this issue.

Powered by DW Question & Answer Pro