Tagged: menu
- This topic has 7 replies, 2 voices, and was last updated 6 years, 7 months ago by Skandha.
-
AuthorPosts
-
April 18, 2018 at 3:10 pm #139965asiya1Participant
Hi,
I used a custom code to edit the menu bar to space the items on it (http://gavinjoejones.com/) but this looks odd on mobile view, with the large gaps after each item. Do you know a custom CSS I could use to make it right?
April 19, 2018 at 12:23 am #139980SkandhaParticipant@asiya1: I just checked your site and the menu looks fine on mobile view. Please try clearing your browser cache. This might solve the issue. Also please send me a screenshot of the mobile menu if the issue persists.
Regards,
SkandhaApril 19, 2018 at 1:44 am #139982asiya1ParticipantHey, cleared cache but it still looks off. The menu list has a massive space after each item. Find my screenshot below.
How do you think I can work around it?
April 19, 2018 at 1:44 am #139983asiya1Participanthttps://drive.google.com/file/d/1dFXxsO59ISGTw8SPHw0mb9gZeBWEa2-h/view?usp=drivesdk
Sorry here’s the link to the screenshotApril 19, 2018 at 3:15 am #139987SkandhaParticipant@asiya1: Do you mean to align the menu items to the center? If yes,
Go to => Appearance => Customize => Additional CSS and remove the additional CSS..menu-item { width: 24.5%; }
Let me know if this is what you want.
Regards,
SkandhaApril 19, 2018 at 7:52 am #142507asiya1ParticipantNo, I mean to remove the space on the right of the menu items that make the drop-down stretch out.
April 19, 2018 at 7:56 am #142508asiya1ParticipantSo, I wanted to space out the menu items and used a custom code to space it out. When I did that, it even affected the mobile view where the space is seen on the right of the menu items on mobile. What code do I use to make it normal and aligned centre, without the space?
April 20, 2018 at 3:40 am #142525 -
AuthorPosts
- The topic ‘Custom Code for Normal Padding in Mobile Menu’ is closed to new replies.