SIZE OF TITLE OF MENU
-
Hello,
I would like to change the size of the title of the menu like on this page https://totoko.fr/a-propos/, I want that A propos looks like smaller. What is the CSS code please ?
Many thanks in advance,
Best regardsThe blog I need help with is: (visible only to logged in users)
-
Hi there,
So if I understand, you want the “à propos” in the menu to look smaller when you are on the “à propos” page, is it right?
To display it smaller when you are on the “à propos” page, you can try using this CSS:
li.menu-item.menu-item-type-post_type.menu-item-object-page.current-menu-item.page_item.page-item-2.current_page_item.menu-item-12 a {
font-size: 10px;
}You can change the font size (here 10px) to the desired size.
I hope this answers your question :)
Florent
-
Hello,
Thank you for your help, but my need is different. I want that the “à propos”to look smaller when I am on the “à propos” page, not on the menu but on the title of the page.
Is is more clear for you ?
Thank you in advance for your help,
Best regards,
Stéphanie -
Ah right, sorry for the misunderstanding.
You can the try this CSS:
.page-id-2 h1.entry-title
{
font-size: 20px;
}You can change the size to the size you want.
I hope I got it right this time :)
-
Oh that’ s great, it is ok. But I want that for each page of my menu, like Accueil, Services etc…, is there different ? Thank you for your big help. Regards
-
Sure,
Just enter the following CSS:
h1.entry-title {
font-size: 20px;
}Let me know if it works :)
-
Hello breakandtrek,
Try this CSS,
.entry-title { font-size: 20px; }Hope this works.
Regards,
Melbin Mathew -
Oh Melbin and Floflo56, you are fantastic, it works, thank you very much !
Have a good day.
Regards
Stéphanie
- The topic ‘SIZE OF TITLE OF MENU’ is closed to new replies.