- This topic has 9 replies, 2 voices, and was last updated 1 month ago by
David.
-
AuthorPosts
-
May 24, 2022 at 3:33 am #2230605
Tayfur
Hello.
In the screenshot below, the customization I want to do is attached.
I shared access with the support team.
Thank you.
May 24, 2022 at 4:34 am #2230700David
StaffCustomer SupportHi there,
try adding this CSS:
#generate-slideout-menu .inside-navigation img { order: -1; padding: 20px 0; width: 150px; } #generate-slideout-menu .inside-navigation button { width: auto; position: relative; right: -20px; }
The last rule – the position relative and right property are optional they simply position the button to the right.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 24, 2022 at 4:52 am #2230725Tayfur
Yes, everything is fine now. Thank you for the support, David.
“The last rule – the position relative and right property are optional they simply position the button to the right.” I just don’t fully understand this area.
This is how I solved the problem. To position the close icon on the right.
#generate-slideout-menu .custom-logo-link { order: -1; }
May 24, 2022 at 5:30 am #2230765David
StaffCustomer Support“The last rule – the position relative and right property are optional they simply position the button to the right.” I just don’t fully understand this area.
Change:
#generate-slideout-menu .inside-navigation button { width: auto; position: relative; right: -20px; }
to
#generate-slideout-menu .inside-navigation button { width: auto; }
And you will see what those two properties are doing
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 24, 2022 at 5:39 am #2230781Tayfur
David, you are amazing.
I don’t want to tire you. One last question.
Here a full-width line has been added under the logo and close icon.
https://prnt.sc/KnT1A96HoriNI can’t add it on the GeneratePress side alone. The reason is it’s not inside a single div.
https://prnt.sc/1NzYUpvOeEzVHow can I solve this field?
Thank you so much.
May 24, 2022 at 5:58 am #2230821David
StaffCustomer SupportCan you reshare the link to your site ? ( resolving a topic removes them 🙂 )
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 24, 2022 at 6:00 am #2230827Tayfur
Certainly. I added site access information.
May 24, 2022 at 6:09 am #2230839David
StaffCustomer SupportYou can do this:
#generate-slideout-menu .inside-navigation .main-nav:before { content: ''; position: absolute; left: 0; right: 0; border-bottom: 1px solid rgba(0,0,0,.1); }
and then just remove the border-top you have on the:
#generate-slideout-menu .slideout-menu li
As a note the
x
exit, i would suggest adding back some left and right padding, to increase the tap target width or google may have a moanDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/May 24, 2022 at 6:16 am #2230846Tayfur
Everything is fine right now.
Thank you very much for your support.
May 24, 2022 at 6:57 am #2230892David
StaffCustomer SupportYou’re welcome
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.