Project

General

Profile

Actions

Bug #81041

closed

Image alignment beside text not working

Added by Mark Kirstein about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid Styled Content
Target version:
Start date:
2017-04-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

screenBeAppearance.png (51.8 KB) screenBeAppearance.png Backend Mark Kirstein, 2017-04-27 12:02
screenFeAppearance.png (195 KB) screenFeAppearance.png Frontend Mark Kirstein, 2017-04-27 12:02
screenTemplate.png (9.03 KB) screenTemplate.png Mark Kirstein, 2017-04-27 16:42
screen.jpg (694 KB) screen.jpg Mark Kirstein, 2017-04-27 16:42
Actions #1

Updated by Wouter Wolters about 7 years ago

  • Assignee deleted (Benni Mack)
Actions #2

Updated by Riccardo De Contardi about 7 years ago

  • 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?

Updated by Mark Kirstein about 7 years ago

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.

Actions #4

Updated by Riccardo De Contardi about 7 years ago

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" ?

Actions #5

Updated by Mark Kirstein about 7 years ago

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.

Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Needs Feedback to Closed

No problem. I am happy that you solved!

Actions

Also available in: Atom PDF