CSS Help
-
Hello, What is the CSS code for me to change my font size for just the article names on my page and to leave everything else the same? When I go to customizer and change the size to small, the article names look perfect but then everything else shrinks. If you go on my page, you can see how “archives” is tiny and “read the latest shop.dine.live” is tiny and I really do not want that. I only want the initial article titles to be the small font they are now and I want everything else normal font size.
The blog I need help with is: (visible only to logged in users)
-
To change the post titles on your blog and archive pages and on the individual post pages themselves you can use this code:
.wf-active .post-archive h2.entry-title, .wf-active h1 { font-size: 1.6em; }Just change the em value to whatever you think would suit.
-
I am still confused, not a very detailed answer..
So I have to go into each post and put that code in the html?
Do I put that code in the Css?
Do I have to put that code in every time to a new article? -
I am still confused, not a very detailed answer..
So I have to go into each post and put that code in the html?
Do I put that code in the Css?
Do I have to put that code in every time to a new article? -
You should also be able to accomplish what you want by using
.entry-title { font-size:your desired value;Do note that if you use em that it will reference the default style of a browser. So 1.6 em would be default browser font size *1.6.
Hope that helps :)
-
If you have a paid plan then you can go to the CSS section of the customiser and paste that code into the main box and it will apply to your entire site – no need to manually go through each post and change your HTML.
-
You can enter that in your CSS as it will be easier for you to navigate later on and if you hire a dev their work will be a tad easier. :)
If you need help with this or if you need additional info about this feel free to ping me. :)
-
@shopdinelive, I see you have gotten the post title size changed using the CSS @hallluke provided. If you have additional questions, please let us know.
- The topic ‘CSS Help’ is closed to new replies.