1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Cart icon on mobile before menu icon

Discussion in 'Free Divi Community Forum' started by bunaziua, Nov 27, 2019.

  1. bunaziua

    bunaziua Member

    Hi,
    On mobile menu there is an menu icon, I've installed a cart plugin to show notifications on it, and activated to show in menu but it its inside the menu, I want it on header bar, take a look on screenshot
    [​IMG]
    So I want to move the Menu icon and menu text to the left, and in that place to post this code [WooCommerceWooCartPro] or somehow to insert this PHP code <?php echo do_shortcode('[WooCommerceWooCartPro]'); ?>
     
    1. PRO MEMBER PERKS Divi Block Pro - Powerful Divi header builder for you to mix & match premade header design, mobile menu & more:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can use DIvi template hook.

    For example, try the below code in your child theme functions.php.
    Code:
    Log In or Sign Up to view this code.
     
  3. bunaziua

    bunaziua Member

    Nothing happend
     
    1. PRO MEMBER PERKS Divi Ultimate Footer Plugin - Custom global Divi footer (20 premade styles) + Revealing footer effect:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Most likely it's because your child theme has header.php & it's missing this code:
    Code:
    Log In or Sign Up to view this code.
    **Right before: </div> <!-- #et-top-navigation -->
     
  5. bunaziua

    bunaziua Member

    It worked but has some errors and I removed it. Ive got another question, On contact us page, I have a regular form of contacting via email, and on error, I need it to be red message, and on successful sending to make it red. How to do that?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Just tested on your site & there doesn't seem to be any indication when the form is submitted successfully. So, you can't change a different color for error & on successful sending.