Git Product home page Git Product logo

Comments (3)

Darthagnon avatar Darthagnon commented on June 16, 2024

@jsacerot It's probably a CSS issue - this theme uses advanced "SCSS" aka compiled CSS, which I have found difficult to work with. A suggestion, however, try putting the CSS for my fork of hugo easy gallery in your site root, perhaps with !important at the end of every CSS rule. What you're aiming to do is an override of this theme's styles, similar to what I did for a friend's website using this other theme, Massively, that used SCSS

e.g.

my-cool-website
- themes
- - hugo-fresh
- content
- static
- - css
- - - hugo-easy-gallery.css

from hugo-fresh.

jsacerot avatar jsacerot commented on June 16, 2024

@Darthagnon Thank you for your suggestions. They were really helpful. I set !important at the end of every CSS rule, but it did not work. So, I decided to convert the CSS into a SASS using this online app. There was a significant improvement (see screenshot below) compared to the initial results. I still need to figure out how to make sure the tile spacing in the horizontal and vertical is the same.

image

from hugo-fresh.

han16nah avatar han16nah commented on June 16, 2024

@Darthagnon Thank you for your suggestions. They were really helpful. I set !important at the end of every CSS rule, but it did not work. So, I decided to convert the CSS into a SASS using this online app. There was a significant improvement (see screenshot below) compared to the initial results. I still need to figure out how to make sure the tile spacing in the horizontal and vertical is the same.

image

Cool. So you converted the hugo-easy-gallery.css?
Where did you put the converted SASS file? Also in static/css? And did you save it as .sass?
Sorry, I do not have a lot of experience and would really like to get it working, so if you could give me some insight in how your file structure now looks like, that would be great!

from hugo-fresh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.