- This topic has 15 replies, 4 voices, and was last updated 5 years, 5 months ago by
Leo.
-
AuthorPosts
-
November 21, 2017 at 11:05 am #430085
Kle
Hi,
what is the css (or where can i find it??) for changing the mobile´s header text/font size?
I need to change the header´s text size, the weight etc.
Also I need to know the css to change the mobile font size and weight of Page titles as well.
I looked at the docs and could not find it, also, I looked in this forum and the things I tried didn´t worked for me.
Help appreciated
November 21, 2017 at 1:53 pm #430182Leo
StaffCustomer SupportHi there,
All the menu CSS are here: https://docs.generatepress.com/article/changing-navigation-colors/
To make it mobile only, you need to wrap them in media query like:
@media (max-width: 768px) { /* CSS in here for mobile only */ }
More info here: https://docs.generatepress.com/article/responsive-display/
November 21, 2017 at 2:01 pm #430197Kle
Hi,
yes I know that those are the intros for the screen size and I am already using them for the menu font sizes. But I cannot get the codes to trigger the desired changes on the Header font size, weight etc, nor the Page title..
What are the triggers for that
I tried with these and various other things
#header
#site-header etc
But nothing changed. nor with the pages titles, can you send me classes/codes please for thoose?
November 21, 2017 at 2:05 pm #430205Kle
Oh nevermind, I missed the first link you posted above, I will digg into that.
Thanks! : )
November 21, 2017 at 2:55 pm #430224Kle
I only see the css for the menus there..
What I need to know is this:
I am already using the css codes for the menu font sizes/color on mobile. But I cannot get the codes to trigger the desired changes on the “Header” font size, weight etc, nor the “Page title”..
What are the triggers for that
I tried with these and various other things
#header
#site-header
.site-header etc
But nothing changed. nor with the pages titles, can you send me classes/codes please for the Header and Page title.
Would be great if the theme had a plugin for that or a clear documentation somewhere and easy to access. It has been more difficult than expected to make simple changes like that.
Help appreciated.
Thank you.
November 21, 2017 at 3:08 pm #430229Leo
StaffCustomer SupportCan you link me to your site and tell me exactly what you are hoping to change?
Alternatively, you can use developer tool to see the classes associate with each element. There are simply too many to list them out like this.
November 21, 2017 at 3:18 pm #430236Kle
Yes, and I been trying to tell you, the Header´s (The name of my entire website) size of the font on Mobile…. and the Page´s title as well. I frankly don´t understand why I don´t seem to get across my requests: )
I already sent you guys a link to my under construction page, there´s the password too, on the other post I created today, which is still unresolved as well.
What I want to change is the size of the fonts of my name (which is the name of my entire website), and also the size of the pages font which are below my name.
On mobile view.
November 21, 2017 at 3:36 pm #430247Leo
StaffCustomer SupportWe see ALOT of new topics in a day which is why it’s hard to track what you’ve provided in another topic. And I also don’t know if you are referring to the same site.
If it’s not too much trouble, do you mind adding the link in in every topic you create so we don’t have to keep going back and forth and trying to remember that you’ve added before?
November 21, 2017 at 3:52 pm #430259Kle
I know that is not a lot of trouble but I been tryin to solve this for hours now and posted about this several times already asking the exact same thing and it´s a simple out of the box setting I am asking about. Thanks I hope now you know what I mean. I went and fetch the link and password I created for you.
After wp-admin is the username and password on the opening post of this topic.
November 21, 2017 at 4:01 pm #430261Kle
I been trying to add the kink to the first post but when I go back to edit again the post just to check the link is there it is not. Any other way I can DM to you? in the other post I made today the link and passwrd does appear.
Edit: I think it finally stuck, the link is here in the opening post.
November 21, 2017 at 7:37 pm #430344Tom
Lead DeveloperLead DeveloperHi there,
You can control the font size of your site title using the mobile icon here in Customize > Typography > Header: https://www.screencast.com/t/Tyw9UbxCJSzA
If you need to make other changes, you can use the .main-title selector.
Let me know if you need more info 🙂
November 21, 2017 at 9:44 pm #430391Kle
Hi Tom, thank you very much that worked, and I added the css for further customization to the Main Title.
But I still cannot find a way to customize with css the Header h1.
I tried with .page-header h1, h1, mobile-header, and doesn´t work. What is the selctor for the h1 heading? the customizer only gives me size and weight and I need more customization.
Thank you.
November 21, 2017 at 10:25 pm #430402Kle
Nevermind, I found it, ty!
November 21, 2017 at 10:27 pm #430404Tom
Lead DeveloperLead DeveloperNo problem! 🙂
April 22, 2020 at 6:56 am #1249154Real
Hi all!
I am with Aspire template.
Is there another way to change the size of the hero-heading?
I tried from Customize > Typography > Header but I don’t see any change.
Thanks
-
AuthorPosts
- The topic ‘Mobile header font size/weight’ is closed to new replies.