Is there a way for us to custom-define text colors used for bg labels with non-panorama popups?
Posted: 29 Dec 2022, 00:55
Hello again, Karl,
For panorama images, when the titles are clicked on in order to display details, when I use the following code:...the top portion of the overlay looks like this, with dark text on a grey background, which is great, as it is easily readable:

However, when I use similar label bg2 with regular (non-panorama) images, the popups look like this, with white text on a grey-ish background (above the Exif information):

I am completely happy with the overlays that pop up when the title is clicked for panorama images, thank you. However, am I able to somehow, for the regular (non-panorama) images, have the popups display black (or at least darker) text in those grey label bg2 boxes?
I've figured out that the bg stands for background :slight_smile:, and that bg and bg1 produce white text on green background similar to mark... bg2 produces white text on light-grey background... bg3 produces white text on slightly-darker-grey background... bg4 and higher look the same as bg1...
Question 1: Is there a way that users like me can define the label background colors of unused bg labels for non-panorama images; and
Question 2: Is there a way that we can define text color for labels used for non-panorama images, along the lines of something like:
I realize that Custom CSS for labels that I define for non-panorama images would apply to panorama images too, if I place that Custom CSS in my sites' Settings, so I would be sure to use that Custom CSS just for the folders for which I wish them to apply.
Day by day, I am discovering how powerful X3 is, thank you.
Regards,
John
For panorama images, when the titles are clicked on in order to display details, when I use the following code:
Code
<span class="label bg2">© Google</span>
<span class="label bg2">16384*8192 px</span>
<span class="label bg2">8.76 MB</span>
<span class="label bg2">Oct 2021</span>
However, when I use similar label bg2 with regular (non-panorama) images, the popups look like this, with white text on a grey-ish background (above the Exif information):

I am completely happy with the overlays that pop up when the title is clicked for panorama images, thank you. However, am I able to somehow, for the regular (non-panorama) images, have the popups display black (or at least darker) text in those grey label bg2 boxes?
I've figured out that the bg stands for background :slight_smile:, and that bg and bg1 produce white text on green background similar to mark... bg2 produces white text on light-grey background... bg3 produces white text on slightly-darker-grey background... bg4 and higher look the same as bg1...
Question 1: Is there a way that users like me can define the label background colors of unused bg labels for non-panorama images; and
Question 2: Is there a way that we can define text color for labels used for non-panorama images, along the lines of something like:
Code
<span class="label bg3" something here to define the text color>text</span>Day by day, I am discovering how powerful X3 is, thank you.
Regards,
John