Slide show/gallery descriptive text color and background colour
Autor: Esahc ..
Visitado 2280,
Followers 1,
Compartido 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.
Publicado en
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
Autor
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 :-)
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
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>
final screenshot 02....
Excuse me for my english but I'm italian. Bye bye
specification... see the screenshot n 03
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>
Autor
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.