josephhutch / aether

A responsive and clean Hugo theme for blogs
MIT License
146 stars 70 forks source link

How do ichange the color of certain text, html tags dont seem to work #50

Closed ST2-EV closed 4 years ago

josephhutch commented 4 years ago

Using html tags to change text color does work. I verified the following example <p style="color:blue;">Hello World!</p> works on my site. To modify the theme's css, which would allow you to change the color of different elements, see https://github.com/josephhutch/aether#overriding-css

ST2-EV commented 4 years ago

Screenshot from 2020-02-15 07-38-45 I get this when I add that, what could be the problem?

Edit: I solved this by adding,

[markup.goldmark.renderer]
unsafe= true

in the config.toml file

ST2-EV commented 4 years ago

Also, how do I achieve a parallax effect with the bg image, tried adding this in override.css:

body {
  background-repeat: no-repeat;
  background-attachment: fixed;
}

it doesn't work Sorry kind of a noob here

josephhutch commented 4 years ago

No worries. Since the background is actually set in the html, you need to use !important as shown below to force the style override.

body {
    background-attachment: fixed !important;
}
ST2-EV commented 4 years ago

thanks a lot man