getgrav / grav-premium-issues

Official Grav Premium Issues repository to report problems or ask questions regarding the Premium products offered.
https://getgrav.org/premium
7 stars 2 forks source link

[typhoon] "classes=float-left" doesn´t work #426

Closed Lurican closed 3 months ago

Lurican commented 3 months ago

Hi everybody!

I am using

Grav: v1.7.44 with Typhoon: v2.4.5

and I´m not able to show a floating image as expected.

In a default-Page I used the syntax as follows:

![myimg](myimg.png?classes=float-left) The rest of my text...

But in the frontend, the image was shown in a line seperately.

Best regards

Marc

rhukster commented 3 months ago

You will need to rebuild the CSS to include the new class:

https://getgrav.org/premium/typhoon/docs#developing-custom-css

Also you can include specific classes in the available-classes.md file to make sure they are always picked up and available to be used without having to do a recompile each time.