简体   繁体   中英

How can I change the style in .jumbotron h1 font family

I bought a ready made theme for WordPress and changed the h1 typeface from sans serif to times but it is still in bold style. Can someone guide me to change the style to regular italic please?

Both WordPress and bought themes are quite new to me quite new to me. 4 posts to the author has only resulted in being able to change the font despite asking for documentation, I don't think there is any. How hard could it be to send me 2 lines of code?

It looks like a — Pay your money and roll the dice support system.

Thanks in advance for any help.

You can try using the important flag, that might override the theme styles. It looks like this:

font-weight: 400 !important;
font-style: italic !important;

Pay attention to how you target the element as well. Try targeting just .jumbotron {} and/or .jumbotron h1 {} . I can't say which will work without seeing the HTML but play around with targeting the element a few different ways, one of them should work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM