mfg92 / hugo-shortcode-gallery

A theme component with a gallery shortcode for the static site generator hugo.
MIT License
359 stars 66 forks source link

Change font color of filter buttons #43

Closed maja-mielke closed 2 years ago

maja-mielke commented 2 years ago

Hello,

I managed to include the gallery into my website and everything is working fine so far (thank you for the great work!).

However, I would like to change (darken) the font color of the filter buttons, as they currently appear with white font on light gray background on my website.

Any idea on how to achieve this?

I am very new to hugo, your help is much appreciated!

mfg92 commented 2 years ago

You have to add a CSS rule like this to your site/theme:

.justified-gallery-filterbar button {
    color: #000;
    border-color: #000;
}

With that rule in place, it looks like this on my website: grafik

maja-mielke commented 2 years ago

Thanks a lot! I found and adjusted the lines in the filterbar.sass file and that worked!