Custom css
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
1) You can set the style with the HTML tag
You can set the style with the HTML tag using style="...":
Example:
2) Using own class
You can use an own class as for example shadow:
In addition to this you have to give the class properties. For this you can use the plugin HTML Code.
Example:
You can set the style with the HTML tag using style="...":
Example:
Code: Select all
<img src="https://mydomain.com/bl-content/uploads/pages/[...]" style="box-shadow: 10px 10px 15px silver">
You can use an own class as for example shadow:
Code: Select all
<img src="https://mydomain.com/bl-content/uploads/pages/[...]" class="shadow">
Example:
Code: Select all
<style>
box-shadow: 10px 10px 15px silver;
</style>
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
-
- Master Bludit
- Posts: 151
- Joined: Wed Jan 29, 2020 8:32 pm
- Has thanked: 27 times
- Been thanked: 10 times
Thanks! I will try what would be the best and easiest..
I searched ckeditor or another editor primarily for such opportunities because I write articles there, but I didn’t find anything like that in them.
I searched ckeditor or another editor primarily for such opportunities because I write articles there, but I didn’t find anything like that in them.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
In this case I would use classes. It's better to separate the content from the styling, and easier to have all CSS in one place.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets