CaiJimmy / hugo-theme-stack-starter

A quickstart template to create a Hugo blog using hugo-theme-stack
https://demo.stack.jimmycai.com
MIT License
356 stars 109 forks source link

Social Outlines #25

Closed Midnitte closed 1 year ago

Midnitte commented 1 year ago

Good Afternoon,

Thanks for the hard work on these, it looks great!

Is there any way to disable the outline on the social icons? image

Looking through the documentation and configuration files, I didn't see anything that would seem to allow this, but hoping I just missed it since I'm not as familiar with Hugo

Thanks, Chris

CaiJimmy commented 1 year ago

Sorry for the late reply.

Is there any way to disable the outline on the social icons?

That's related to the SVG file you've included. The default configuration of this theme has been optimized for Feather Icons. If you include an SVG from other sites, there could be a potential conflict (like in this case).

A solution would be to modify the SVG file, including an inline style that overrides theme's. Something like:

<svg style="stoke: transparent!important;  stroke-width: 0px!important;">

Try it and see if it works. But I cannot give a global solution, as I said, depends on the SVG file 😢.

Midnitte commented 1 year ago

Oh I see, that also seems to work perfectly!

Thank you so much for the awesome theme and help!