Skip to content

How to change featured image text color #70

Answered by evanwill
ZahraOsman asked this question in Q&A
Discussion options

You must be logged in to vote

@ZahraOsman your Bootswatch theme lux is overriding the default white text color. To change it you can add your own custom CSS.
Edit your "_sass/_custom.scss" file. In CSS, comments are between /* and */, so what is currently in your file is just a comment. Below the comment, add a new line with this CSS:

.display-4 { color: #fff; }

"display-4" is the class of the big text on the home page banner, #fff is the color white that matches your theme. If you want to try other colors, replace #fff with some other color value.
Have fun!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ZahraOsman
Comment options

Answer selected by ZahraOsman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants