Change image gallery background color? - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Change image gallery background color?

  • Change image gallery background color?
  • How can I do this? I can't find it anywhere!
  • Hey Dusty,

    By default (without any settings) you can just style the <ul class="sfImagesTmbList"> by giving it a css background-color (see snapshot 1).

    If you use the 'advanced' button on the widget and enter a name under the 'CssClass' option, Sitefinity will automatically wrap the gallery inside an additional div with that class. Then you could just style the background-color of that div (see snapshot 2).

    Jochem.
  • Hi Jochem,
    Got it. I ended up creating a new css class and overrode the color. Thanks for the help.
  • By default (without any settings) you can just style the <ul class="sfImagesTmbList"> by giving it a css background-color (see snapshot 1).

    If you use the 'advanced' button on the widget and enter a name under the 'CssClass' option, Sitefinity will automatically wrap the gallery inside an additional div with that class. Then you could just style the background-color of that div (see snapshot 2).Replica Handbags And Shoes