- This topic has 7 replies, 3 voices, and was last updated 1 year, 6 months ago by
Elvin.
-
AuthorPosts
-
December 1, 2020 at 2:40 pm #1562250
Yvan
Hello,
I have a problem with my mobile menu. This one is displayed over my title in transparency… no problem on the homepage.
An idea to solve the problem ?
And on the homepage, how to have a bigger image centered with a text defined on a mobile ?
Thanks !
December 1, 2020 at 3:56 pm #1562381Leo
StaffCustomer SupportHi there,
Any chance you can link us to the site in question?
You can use the private information field.
Let me know ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 2, 2020 at 5:19 am #1563528Yvan
Hi Leo,
i’m sorry, the link to my site is ok now.
December 2, 2020 at 10:15 am #1564234Leo
StaffCustomer SupportGlad to hear ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/December 2, 2020 at 11:57 am #1564398Yvan
I told you that I have updated my profile and that my site is identified in it.
Can you please help me?
December 2, 2020 at 9:17 pm #1564942Elvin
StaffCustomer SupportHi,
Are you still trying to solve the same issues?
For the mobile header, the logo’s image size is too big for some mobile devices, causing the navigation toggle to wrap under the logo.
To address this, consider reducing the width of the logo so both the logo and the menu toggle fit within 1 row.
You can adjust the mobile width of the logo by adding this CSS:
/* Logo width on mobile */ @media(max-width:768px){ .site-header .header-image { width: 250px; } }
And on the homepage, how to have a bigger image centered with a text defined on a mobile ?
To clarify: Are you trying to vertical center the page hero’s article title only?
A wise man once said:
"Have you cleared your cache?"December 3, 2020 at 12:06 pm #1566320Yvan
Hello,
thank you for your answer.
I would like the image like this but with a small text
https://postimg.cc/TKP9KZgtFor the menu is better, but it hides my title
https://postimg.cc/RNpPLSMkThanks
December 3, 2020 at 7:44 pm #1566653Elvin
StaffCustomer SupportI would like the image like this but with a small text
https://postimg.cc/TKP9KZgtYou seem to have resolved the text sizing w/ @media rule.
As for the page-hero sizing, you can do that by either adding more top and bottom padding to the mobile view on the Header Element’s settings or adding another @media rule that sets your min-height.
Example:
@media(max-width:768px){ .inside-page-hero { min-height: 400px; display: flex; align-items: center; } }
display: flex; and align-items: center; are optional as they’re just added to vertically align the title.
For the menu is better, but it hides my title
https://postimg.cc/RNpPLSMkYou can try removing the nav bar’s margin top so it doesn’t go too far down
@media(max-width:768px){ .has-inline-mobile-toggle #site-navigation.toggled { margin-top: 0; } }
You can also consider resizing the menu items on mobile so appear to large to the point where they overlap with the title.
A wise man once said:
"Have you cleared your cache?" -
AuthorPosts
- You must be logged in to reply to this topic.