WebSite X5Help Center

 
Esahc ..
Esahc ..
Moderator

Slide show/gallery descriptive text color and background colour  en

Autore: Esahc ..
Visite 2088, Followers 1, Condiviso 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.

Postato il
9 RISPOSTE - 1 UTILE - 1 CORRETTO
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

Leggi di più
Postato il da Paul M.
Esahc ..
Esahc ..
Moderator
Autore

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 :-)

Leggi di più
Postato il da 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

Leggi di più
Postato il da 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>

Leggi di più
Postato il da Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

final screenshot 02....

Leggi di più
Postato il da Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

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

Leggi di più
Postato il da Giuseppe Guida
Giuseppe Guida
Giuseppe Guida
User

specification... see the screenshot n 03

Leggi di più
Postato il da 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>

Leggi di più
Postato il da Giuseppe Guida
Esahc ..
Esahc ..
Moderator
Autore

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.

Leggi di più
Postato il da Esahc ..