stevescode
Forum Replies Created
-
M,
I ended up figuring out that the issue was being caused by the Builder theme. In ../Builder/style.css, I found the following code, which applied a margin to all images that were displayed by NextGEN Gallery:
h1, h2, h3, h4, h5, h6, p, blockquote, pre, address, dfn, img, samp, ul, ol, dl { margin-top: 1.5em; margin-bottom: 1.5em; }
Thus, I added the following code to my child stylesheet, which overrode the Builder theme margin for images:
img { margin:0; }
However, this also revealed a new issue. The images were initially displayed 5 pixels below the navigation bar, and then they would shift up, and there would be a 5 pixel gap below the images. After a search, I found a solution for the problem at the following website:
I have updated the nggallery.css file through FTP to correct the issue, but I would prefer to do this through a child stylesheet so I can upgrade to later revisions of NextGEN Gallery without having to change it’s stylesheet. I have tried to include the following code in my ../Builder-Child/style.css stylesheet, but it did not correct the issue:
.ngg-widget, .ngg-widget-slideshow { overflow: hidden; margin:0pt; padding:0px 0px 0px 0pt; text-align:left; }
Is there a different way to override the nggallery.css stylesheet, other than updating it directly?
Thank you again!
M,
Thank you for the suggestion. I have added the code to my stylesheet, but it did not remove the gap. Please see the ../Builder-Child/style.css stylesheet for the update.
Do you have any other suggestions?
Thank you!