• Hello,

    I have two problems.

    1. I created a menu that I set as the primary menu and put it in the left sidebar in this theme. The menu is black on the page. However, it is not 100% according to my requirements.

    1.1 If I click an item, the page will only be displayed. I also need to show its sub-items in the menu (of course, if the item has some sub-items)
    1.2 This is also related to the fact that when you click on a sub-item, the menu changes to default (it hides all sub-entries). Must be retained + step 1.1.
    1.3 At the end I put a search item (The magnifying glass), but after clicking, the search pointer is displayed in the middle of the entire menu and not down where the magnifying glass is. How do I move it?

    2. How to remove the header. I did it using a jquery

    $ (“header”) remove ();

    This works, but the page flashes after loading – it loads with the header, which is then deleted and the page content moves upward, which looks unsightly. There is another solution.

    Please advise.

    Thank you

    • This topic was modified 6 years, 4 months ago by michalrama.
Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter michalrama

    (@michalrama)

    Hello,

    So I resolved it differently and made several adjustments. Finally, I add the finished code with the description.

    I would just like to ask one thing.

    How do I indent text by level?

    1st menu level classic and each other moved and a little to the right. (to make them easier to recognize)

    I tried it, but it did not work.

    Please, how should I write it?

    Thank you

    Theme Author Tom

    (@edge22)

    Glad you got something working!

    Try this:

    .main-nav > ul > li > .sub-menu {
        text-indent: 10px;
    }
    
    .main-nav > ul > li > .sub-menu .sub-menu {
        text-indent: 20px;
    }
    
    .main-nav > ul > li > .sub-menu .sub-menu .sub-menu {
        text-indent: 30px;
    }
    Thread Starter michalrama

    (@michalrama)

    Hello,

    Thank you. I’m sorry, the write css, which element you want to set up, is above my understanding.

    Thank you very much for the great cooperation. Now the menu behaves exactly to my liking.

    Unfortunately I have to go to sleep now.

    Tomorrow I will write the finished code with the description.

    Theme Author Tom

    (@edge22)

    No problem at all! Which part are you having trouble with exactly? ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Control Primary Menu and remove header’ is closed to new replies.