Tagged: menu
- This topic has 15 replies, 2 voices, and was last updated 7 years, 6 months ago by Mahesh.
-
AuthorPosts
-
May 8, 2017 at 10:10 am #115462vasikkParticipant
Hello,
Can I add a line separator to the menu? I have a 2-line MENU and I like to split the lines.
I tried it by adding a custom link (URL = # Text “________”), but it’s not nice.
May 8, 2017 at 11:46 pm #115484May 10, 2017 at 8:25 am #115553vasikkParticipantMay 11, 2017 at 1:28 am #115599MaheshParticipant@vasikk: On your first site, remove all the ‘_’ from the
<a>
tag. Then go to Dashboard=> Appearance=> Customize=> Additional CSS box and add the following CSS:.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-1445 { width: 100%; } #menu-item-1445 > a { clear: both; display: block; border-bottom: 1px solid #ccc; width: 105%; margin-left: -35px; }
Regards,
MaheshMay 11, 2017 at 7:52 am #115612vasikkParticipantNo change has occurred. Line is not displayed :(.
There can be problems with adjustment for bbPress theme?
Child theme BOX.comMay 12, 2017 at 1:18 am #115633MaheshParticipant@vasikk: You’ve removed the
<a>
tag with ‘_’, I meant you to remove the ‘_’ only. And idk why do you have repeated menu items? Please fix that first. Let me know further.
There can be problems with adjustment for bbPress theme?
Please clarify more on this.Regards,
MaheshMay 26, 2017 at 4:13 am #116348vasikkParticipantI removed the duplicate items from the menu. I deleted”____”,
I added the code to the CSS, but I do not see the change.
As far as bbpress is concerned, I used the following code for full layout page..bbpress #main { width: 93,5%; } .bbpress .sidebar-primary { display: none; } .bbpress #secondary { display: none; } .bbpress #primary { width: 100%; }
Can not there be a problem with this code?
EDIT:
I tried this code again (I deleted it from you) and it looks like I’m approaching the goal. Just replace the dots behind the line.
.menu-access-wrap #access ul.menu li, .menu-access-wrap #access-secondary ul.menu li, .menu-access-wrap #access-footer ul.menu li { border-bottom: 1px dotted #eee; }
May 26, 2017 at 7:16 am #116371MaheshParticipant@vasikk: Just checked your site, you seem to have solid border now.
Regards,
MaheshMay 27, 2017 at 2:43 am #116401vasikkParticipantYes, it was enough to replace the word dotted for solid in the above-mentioned code.
But on the second site it’s a bit angry (the menu is not centered), so I’ll look at it later.
Regards VasikkMay 29, 2017 at 7:02 am #116445May 30, 2017 at 5:29 am #116489vasikkParticipantIf they can ask for help, thus centering the Menu.
I tried a couple of local forums code, but either break down menu, or the change to take effect.
It is also possible conflict with the plugin Menu Icons by Dzikri Aziz…
I’ll try to menu icons still deliver as symbols.May 30, 2017 at 6:44 am #116496MaheshParticipant@vasikk: Add the following CSS:
#access ul.menu li, #access-secondary ul.menu li { float: none; display: inline-block; } .main-navigation.menu-focus { text-align: center; }
cccc
Regards,
MaheshMay 30, 2017 at 3:05 pm #116523vasikkParticipantExcellent! Thanks a lot!
Regards,
vasikkMay 31, 2017 at 5:58 am #116532MaheshParticipant@vasikk: I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review? Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated.
https://wordpress.org/support/theme/catch-box/reviews/#postformThanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know.
Regards,
MaheshMay 31, 2017 at 3:00 pm #116547vasikkParticipantDear Mahesh,
If I had a good English, I would write 100 lines of praise :D.Praise yours Tehmes and support it’s the smallest thing I can do!
June 1, 2017 at 2:31 am #116570 -
AuthorPosts
- The topic ‘Menu – Line separator’ is closed to new replies.