Center description in Imagebrowser EXIF
-
I feel like I’m SO close to fixing something through CSS, but just missing some small element. I am using the ImageBrowser gallery with Legacy EXIF, and I wanted to get rid of the title above the single picture, so I tweaked some text using inspect element, found the references and used the text:
#content .ngg-imagebrowser h3 {display: none !important;}
I later found it in the forums too, so that was nice confirmation I did it write.
But the description that is below the image is more elusive. I want to centre the text. I found someone else had wanted to eliminate it in the default view and I found this as the wording:
#content .ngg-imagebrowser.default-view .ngg-imagebrowser-desc {
display: none !important;
}So I thought, let’s try some variations:
a. SAME AS TITLE: .ngg-imagebrowser p {text-align: center;}
b. SAME AS ABOVE: .ngg-imagebrowser.default-view .ngg-imagebrowser-desc {
text-align: center;}c. CONV TO EXIF: .ngg-imagebrowser.exif .ngg-imagebrowser-desc {
text-align: center;}I’ve tried varying combinations in there but nothing seems to move that description. I feel like I’m missing a letter or something to nail it, but just can’t rebuild the file structure.
The page I need help with: [log in to see the link]
- The topic ‘Center description in Imagebrowser EXIF’ is closed to new replies.