Recent Topics

[image:…] class - how to get it work?

Started by on Feb 18, 2018 – Contents updated: Mar 08, 2018

Feb 18, 2018 12:01    

Hello,

I am working on customizing image layout on my pages. I have some problems:
Troubles to get customized image-tag, thumbnail-tag … I by class working. I tried the way, recommended in b2e manual (e.g. http://b2evolution.net/man/thumbnail-short-tag).
My intention:
I want to show in a line thumbnails by the same height and auto width one after another with smaller space between the thumbnails and higher padding to text.

But I did not succeed even in realizing a single class to the tags. I tried it the way below.

Thanks and Regards!
Will

Feb 18, 2018 20:21

Version 6.9.5

Can confirm that I have tried with addition to my [media/blogs/***/style.css] with no effect and by checking source code no parameters were added to the image element.

Somehow by removing links and replacing I have css selectors so I tried this, which worked, but my selector wasn't added

a#link_45 img.evo_thumbnail{border: 3px solid green}

Feb 24, 2018 00:17

[image:ID:title:classname]

[:-:] the dash between the colons are meant to be the title

class name starts with .

the : separates the fields

[PART1:PART2:PART3:PART4]

PART1 == image
PART2 == image file ID
PART3 == Caption / Title
PART4 == CSS CLASSNAME

Feb 24, 2018 03:05

@amoun the syntax for image and for thumbnail is different.

@saunders the syntax for image and for thumbnail is different. Your screenshot shows you tried to use one with the other.

Feb 24, 2018 15:05

@fplanque wrote earlier:

@amoun the syntax for image and for thumbnail is different.

@saunders the syntax for image and for thumbnail is different. Your screenshot shows you tried to use one with the other.

AH!

Feb 27, 2018 15:26

@fplanque Is there a way to define a class for image set to "Cover" or "after more" ? (e.g. .redborder)

Mar 08, 2018 02:53

Probably but in that case you have to dig into your CSS explorer to find the correct CSS selector.


Form is loading...

powered by b2evolution CMS – This forum is powered by b2evolution CMS, a complete engine for your website.