• Resolved schmi77

    (@schmi77)


    Hey there,
    while successfully using the menu, i found a small issue with menu entries, that do not have children.
    They seem to create a html <p></p> tag combination, that also has some margin. Fun part about this is, the preview in the iks menu section doesn’t show that. So it might be, that it’s my current wp installation causing that behaviour.

    Here are some Information about the system i am using:

    Menu source taxonomy – > categories

    WordPress 6.2.2
    PHP 8.1.2
    Plugin Version 1.6.0
    Ubuntu 22.04.2 LTS
    And using Firefox 115.0.1esr (64-Bit) as browser

    Some HTML:

    
    <div class="iksm-terms-tree__inner">
     <div class="iksm-term iksm-term--id-1 iksm-term--parent" data-id="1">
    	<div class="iksm-term__inner" tabindex="0">
                    <a class="iksm-term__link"  target="_self" tabindex="-1"><br>
    				        <span class="iksm-term__text">Allgemein</span><br>
    		            </a>
    			        </div>
    <p></p>
    ...

    with that last p tags and the margin, the menus got a bit seperated from other menu parts, which looks a bit awkward.
    As for now i am trying to write come css to reduce all margins to 0, but i just wanted to check, if anybody else got this issues.

    with kind regards

    • This topic was modified 1 year, 4 months ago by schmi77.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Iks Studio

    (@iksstudio)

    Hello! Could you please share a link to your website with menu preview?

    Thread Starter schmi77

    (@schmi77)

    No, sadly. It’s within the companies network, and that’s not accessable from outside.

    Plugin Author Iks Studio

    (@iksstudio)

    What about screenshots that illustrate the problem?

    Thread Starter schmi77

    (@schmi77)

    I can do this. It’s a fast screenshot, uploaded to ImgBB

    since the forum wont show an attached image ill try just the url to immgbb:
    https://ibb.co/mhmdYbb

    • This reply was modified 1 year, 4 months ago by schmi77.
    Thread Starter schmi77

    (@schmi77)

    also i want to add that i solved the problem with CSS:

    .iksm-2143 p {
    	margin: 0;
    }

    with 2143 being the menus ID

    best regards ??

    • This reply was modified 1 year, 4 months ago by schmi77.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Empty menu items create p tags?’ is closed to new replies.