SEOBIT - STRONY INTERNETOWE RADOM | Pozycjonowanie SEO | SKLEPY WWW

STRONY INTERNETOWE RADOM

Ukrywanie menu głównego w DIVI

Strony internetowe Radom | sklepy www | SEO pozycjonowanie

Ukrywanie menu głównego w DIVI

carpenter-use-case-preview

Ukryj pasek menu głównego

Jedna strona

Przejdź do strony wyboru i włącz narzędzie Visual Builder

Aby ukryć pasek menu głównego u góry naszych stron, potrzebujemy trochę kodu CSS. Pamiętaj, że ważne jest, aby wyłączyć opcję Naprawiono pasek nawigacji (jeden z poprzednich kroków). W przeciwnym razie miejsce zajmowane przez pasek menu głównego będzie białe i nie zniknie całkowicie. Jeśli zamierzasz ukryć pasek menu głównego na jednej stronie, w szczególności przejdź do tej strony i włącz narzędzie Visual Builder.

moduł menu o pełnej szerokości

Otwórz ustawienia strony

Otwórz ustawienia strony, klikając poniższą ikonę u dołu strony:

moduł menu o pełnej szerokości

Dodaj kod CSS

Przełącz na kartę Zaawansowane i dodaj następujący kod CSS do niestandardowego pola CSS:

#main-header {
displaynone;
}

moduł menu o pełnej szerokości

Cała witryna internetowa

Przejdź do Opcje motywu Divi

Jeśli chcesz pozbyć się paska menu głównego w całej witrynie, możesz to zrobić. Nie musisz ręcznie dodawać kodu do każdej strony. Zamiast tego możesz po prostu przejść do pulpitu WordPress> Divi> Opcje motywu.

moduł menu o pełnej szerokości

Dodaj kod CSS

Kontynuuj przewijanie w dół, aż natkniesz się na niestandardowe pole CSS i dodasz tam ten sam kod CSS:

#main-header {
displaynone;
}

moduł menu o pełnej szerokości

Dodaj podstawowy pasek menu do strony

Otwórz stronę docelową za pomocą programu Visual Builder

Po ukryciu głównego paska menu możemy zacząć dodawać moduł menu o pełnej szerokości do naszej strony. Aby to zrobić, przejdź na przykład do strony docelowej i włącz narzędzie Visual Builder.

moduł menu o pełnej szerokości

Dodaj sekcję o pełnej szerokości

Kontynuuj, dodając sekcję o pełnej szerokości tuż pod sekcją bohatera.

moduł menu o pełnej szerokości

Górna granica

You can use all Divi’s built-in options to create the exact design you want. We’re going to keep it pretty clean. The only thing we’ll add to our section options is a top border:

  • Top Border Width: 7px
  • Top Border Color: #f25b3a

moduł menu o pełnej szerokości

Add Fullwidth Menu Module

Next, add the Fullwidth Menu Module to your section.

moduł menu o pełnej szerokości

Select Primary Menu

Select your primary menu as the menu you want to show up.

moduł menu o pełnej szerokości

Background Color

Continue by giving your module a black background color.

moduł menu o pełnej szerokości

Links Settings

Then, open the Links settings and apply the following changes:

  • Active Link Color: #FFFFFF
  • Dropdown Menu Text Color: #FFFFFF
  • Mobile Menu Text Color: #FFFFFF
  • Text Orientation: Left
  • Text Color: Light

moduł menu o pełnej szerokości

Dropdown Menu Settings

Change the Dropdown Menu settings next:

  • Dropdown Menu Background Color: #000000
  • Dropdown Menu Line Color: #000000
  • Mobile Menu Background Color: #000000

moduł menu o pełnej szerokości

Menu Text Settings

Lastly, we’re going to make the text settings match the layout pack:

  • Menu Font Weight: Ultra Bold
  • Menu Font Style: Uppercase

moduł menu o pełnej szerokości

Make Fullwidth Section Global & Use on Other Pages as Well

Save as Global Section

We’re done creating our new primary menu! If you’re planning on using it on other pages as well, go ahead and add it to your Divi Library as a global item.

moduł menu o pełnej szerokości

Add to Other Pages Without Primary Menu Bar

You can now easily add this Fullwidth Menu to other pages. You can choose its position and you’re free to play around with the built-in design options that come along with it!

moduł menu o pełnej szerokości

Preview

Now that we’ve gone through all steps, let’s take a final look at the result on different screen sizes.

Cieśla

Final Thoughts

In this use case blog post, we’ve shown you how to replace the Primary Menu Bar at the top of your pages with the Fullwidth Menu Module. Applying this method gives you the freedom of being able to place your menu wherever you want on your page. On top of that, you can also use Divi’s built-in options to style it. If you have any questions or suggestions, make sure you leave a comment in the comment section below.

34 Comments

  1. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    I hope in a future update the menu gets its own DIVI builder.

    • Ukrywanie menu głównego w DIVI z SEOBIT.PL

      I’d nearly settle for a menu module that was not full width (plan “B” after your suggestion).

    • Ukrywanie menu głównego w DIVI z SEOBIT.PL

      I agree ?

    • Ukrywanie menu głównego w DIVI z SEOBIT.PL

      me too!!, Im waiting for it since i joined the Elegant Themes family ?

      • Ukrywanie menu głównego w DIVI z SEOBIT.PL

        Agree as well! Hoping to see some more flexibility with the mobile menu soon ?

  2. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    WoW !! Amazing !! Please more examples for personalize the menu. Just now, I have more that 25 websites with divi and all they look same header ?

  3. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Cool, I am using the same trick for some of my clients.

  4. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Cool!
    Is there a live demo somewhere? I’d like to see how the responsive menu behaves.

  5. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Great tip! It’s very annoying when you can’t place a primary menu wherever you want (and in the past it’s been something that have pushed my clients to buy a wordpress theme or another)

  6. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Thanks! Incredible tips we get from you guys. Two things:
    1) How the menu behaves once the user scrolls down? Is it sticky?
    2) Demo site?

    Thanks!!

  7. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Doing it this way allows you to have full divi customization and placement, but you need to add it to every.single.page. I found the Mhmm allows divi builder use and it replaces the top nav – don’t know if you can place it elsewhere, but it is super simple and done once. This is a great trick to use, especially if you apply it to a saved layout and use that layout on new pages.

    Thanks for the tutorial!!!

  8. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    I really wish…this module was updated :/

    majorly missing…

    logo and title options
    same options for menu bar as customizer

    • Ukrywanie menu głównego w DIVI z SEOBIT.PL

      I think you can add section and row with single image that you give your logo before menu section.

  9. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    It would be really cool if there was an easy way to do a real site-wide header so we could drop the menu below a hero image and not need to add it to every page. But, this is a cool trick for simple sites and I’ve used it a couple times.

  10. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Is there any way to make it a fixed menu when scrolling?
    Also, are there any css tricks to change hover styles etc the same way we can do with the main divi menu?

  11. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Thank you for the tutorial. Live demo is really important to us users.

  12. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Can this CSS code be used to hide the main menu bar in the Extra Theme? I’ve been trying to search for ways to create a “Blank Page” option in Extra so I can make that theme more versatile for my blog.

  13. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Hmmm. I feel that every time a How To uses “display:none” in the instructions, it is a hack rather than an actual solution.

    The lack of customisation of the header is the major limitation of the Divi theme. Anything more than a dozen page brochure site and the lack of a dynamic templates system makes a site almost unmanageable.

    I love Divi, but the mess I have got myself into on some large site, I am not how I will ever get out of.

  14. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Very Informative

  15. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Awesome tutorial – thanks for taking the time to show us this. Highly appreciated ?

  16. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Does it work in the wordpress generic pages like Category, Search, Archive, Blog (entries) etc… ? Also, how can I add the logo, any custom option to include it in the fullwidth menu ?

  17. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Wait. You can use DIVI hooks and inject this above content on every page right? I think that’s a better solution than manually post it to every page.

  18. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Mmmm this looks interesting! I may have to give this a go as the styling on the Divi menu is slightly restricted I find.

  19. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    this module is the same since beginning. I’m missing the logo option. Would be great if menu could also be a “standalone” module not just fullwidth.

  20. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    In fact there’s another way to do that. If blank template is selected it doesn’t show header neither footer, and you can just change everything you want. About the logo, instead of using fullwith module, use a regular module three columns select row fullwith and in the right you insert the logo and in the left one the menu.
    I’m not sure if menu can be selected in regular section, but you can move the module between both sections. I did it in two webs, and then save it as global before inserting in rest of pages.
    With Mmhm I had a lot of incompatibilities.
    That’s it!

  21. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    What’s the simplest way to use the menu module on post pages?

  22. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    You can do the header you want but in the Woocoomerce file pages can not be put.

    If anyone know how to do it please tell me…

  23. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Thank you so much for this amazing tutorial! I was able to followed through the steps and created mine. However, I notice that the image and menu does NOT stay fixed at the top when scrolling down the page. Is there away to do that so users do not have to scroll back up to the top to get to the menu? Thanks for your time and suggestion.

  24. Ukrywanie menu głównego w DIVI z SEOBIT.PL

    Hello Donjete,

    Could you help me with this issue?

    I would like to make the main-menu bar in my home page in Divi appear with a delay of say 7 seconds after my home page fully loads…

    Would you please send me a css code for this to work it around?

    Thank you.

Leave a Reply

Comments are reviewed and must adhere to our comments policy.

500,591 Customers Are Already Building Amazing Websites With Divi. Join The Most Empowered WordPress Community On The Web

Oferujemy 30-dniową gwarancję zwrotu pieniędzy , więc dołączenie jest wolne od ryzyka!

ZAPISZ SIĘ DZISIAJ

Ukrywanie menu głównego w DIVI

Udostępnij ten post w mediach!

Facebook
Twitter
LinkedIn
Email
WhatsApp
Ukrywanie menu głównego w DIVI
dispacher_icon.png
Wypełnij formularz zapytania a w ciągu kilku godzin otrzymasz wycenę strony www.
Strony
Wpisy