WebSite X5Help Center

 
Esahc ..
Esahc ..
Moderator

Slide show/gallery descriptive text color and background colour  en

Автор: Esahc ..
Просмотрено 2302, Подписчики 1, Размещенный 0  

How do I change text colour and background colour of the descriptive text in a slide show or gallery?

I can change the font, size, bold or italic, but I cannot change the background colour or the text colour.  My apologies if I have missed the bleeding obvious.

Размещено
9 Ответы - 1 Полезно - 1 Корректно
Paul M.
Paul M.
Moderator

Hello Esahc,

You haven't missed anything obvious...  unfortunately there has been no progress in that respect since posts like the following:

https://helpcenter.websitex5.com/post/93205

Kind regards,

Paul

Читать больше
Размещено От Paul M.
Esahc ..
Esahc ..
Moderator
Автор

Thank you for the speedy response Paul. . . .

Disappointing that I could not find the above post in answers or it's replacement (how do you find the old posts, have you got a photographic memory or an alternate search engine?), even more disappointing that Incomedia do not care about missing/damaged features unless they affect stability.

The bits that work in WX5 are marvellous though :-)

Читать больше
Размещено От Esahc ..
Giuseppe Guida
Giuseppe Guida
User

Hello, what you asked, you can make it with the external code, as I have made for the description of this gallery in this my template:

http://www.bozzasito003.altervista.org/template02/

Now I try to create a tutorial to make it clear to you how to proceed

Читать больше
Размещено От Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

The code that you must use is just that, to be included in the "STEP 2 / PROPERTIES / EXPERT / BEFORE THE TAG HEAD CLOSING" and where instead of "??" you have to research the exact number of ''imObjectgallery ?? description" and I'll explain how to research this number with the screenshot that I have attached to this post.
The code is this:

<Style>
#imObjectGallery _ ?? _ description {
background-color: yellow! important;
color: black! important;
display: block! important;
}
</Style>

you have to edit as you like the color value of the description background (background-color), the value of the text color (color) and if you want that the description is always visible you must leave the value as I've written (display:block! important;), otherwise you can cancel this last string and the code becomes this:

<Style>
#imObjectGallery _ ?? _ description {
background-color: yellow! important;
color: black! important;
}
</Style>

Читать больше
Размещено От Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

final screenshot 02....

Читать больше
Размещено От Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

Excuse me for my english but I'm italian. Bye bye

Читать больше
Размещено От Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

specification... see the screenshot n 03

Читать больше
Размещено От Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

in my template the complete code that I used is only this:

<Style>
#imObjectGallery _102_ description {
background-color: yellow! important;
color: black! important;
display: block! important;
}
</Style>

Читать больше
Размещено От Giuseppe Guida
Esahc ..
Esahc ..
Moderator
Автор

Thank you Giuseppe, I shall copy your code and examples to my "workarounds" folder.

Hopefully someone at incomedia will see fit in embed this code into upcoming revisions with some simple option to change the variables through a menu.

Читать больше
Размещено От Esahc ..