Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Changing styles in a provided .css not working? (Skeleton)

Started by Kevin 9 years ago · 0 replies · 1003 views
9 years ago

Hello,

I am currently trying to style the clean-blog theme a bit - Not sure if important: I used the skeleton, then updated Grav, Theme and Plugins.

So, for example, I want to change the pre part of the Theme, so I go into /themes/clean-blog/vendor/bootstrap/css/bootstrap.min.css and change it like this:

Original:

CSS
pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

Changed:

CSS
pre {
    display: block;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
}

Basically remove padding and borders. Saving the file, restarting nginx, but it still show it with the padding and the borders.

When I look into that part with Chrome Dev Tools, it also shows the padding and borders.
I tried to change that part in the bootstrap.css aswell, but no luck so far.

Am I doing something wrong?

Thanks!


Fixed... the 3rd browser worked and showed it correctly.. guess I have some cache issues.

last edited 11/16/17 by Kevin

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by FrViPofm, 4 weeks ago
4 469 2 weeks ago
Themes & Styling · by johan thomas, 5 years ago
1 799 3 weeks ago
Themes & Styling · by stuart young, 2 months ago
3 656 2 months ago
Themes & Styling · by Sebadamus, 3 months ago
5 678 2 months ago
Themes & Styling · by martynfoster735, 3 months ago
1 640 3 months ago