Bug #81041
closed
Image alignment beside text not working
Added by Mark Kirstein over 7 years ago.
Updated over 7 years ago.
Category:
Fluid Styled Content
Description
In both ce's text & images and text & media, the aligment of an image beside the text right or left not working. I debugged the elements and the position isn't set correctly. Please see screens. Shouldn't the position.vertical be beside and not intext? As you can see in the screen, there is no correct alignment. My roottemplate has included the css for fsc, too.
Greez
Mark
Files
- Assignee deleted (
Benni Mack)
- Status changed from New to Needs Feedback
I am not able to reproduce it with 8.7.1 and latest master. I tried with Text & Images, and both "Beside Text, right" and "Beside Text, left".
From your screenshot, it seems that there is another CSS that is somehow in conflict with the one from FSC (I see that title and text are centered,too). Could you try to disable it?
I deactivated all styles in provider extension and took a new screen. The text was centered from a rule above but that doesn't effect on the image with text. There are no rules to display image and text side by side. I made a screen from the template configuration, too. As you can see, the css for fsc is included.
The correct style should start from the <div> below:
.ce-right .ce-gallery {
float: right;
}
1) My first question: in TSOB, is plugin.tx_frontend._CSS_DEFAULT_STYLE
defined?
2) the CSS generated by TYPO3 is in page? what does it contain?
3) I don't know if it's relevant: what happens if you include the Static Typoscript "Fluid Styled Content CSS" before "Fluid Styled Content" ?
Oh my dear, shame on me. I deactivated default styles with plugin.tx_frontend._CSS_DEFAULT_STYLE > and include them normaly in my scss files. Cause this project is at the beginning, the rules are missing. Sorry for wasting your time.
- Status changed from Needs Feedback to Closed
No problem. I am happy that you solved!
Also available in: Atom
PDF