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

Solved Inject custom link in Divi secondary menu

Discussion in 'Free Divi Community Forum' started by Liu, Oct 31, 2019.

  1. Liu

    Liu New Member

    Hello. I need help editing the topmost line of the site. I need to make the phone number clickable. After e-mail add a word and make a link from it.
    Now it looks like this:

    <div id="top-header">
    <div class="container clearfix">
    <div id="et-info">
    <span id="et-info-phone">+7 (495) 540-58-38</span>
    <a href="mailto:info@mischenco-group.com"><span id="et-info-email">info@mischenco-group.com</span></a></div>

    <div id="et-secondary-menu">
    <ul id="et-secondary-nav" class="menu">
    <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-3504">
    <a target="_blank" rel="noopener noreferrer" href="http://31.129.222.69:8080/login.aspx?ReturnUrl=/default.aspx">Личный кабинет</a>
    </li>
    </ul>
    </div>
    </div>
    </div>

    Need pimero so

    <div id="top-header">
    <div class="container clearfix">
    <div id="et-info">
    <a href="tel:74955405838"><span id="et-info-phone">+7 (495) 540-58-38</span>
    <a href="mailto:info@mischenco-group.com"><span id="et-info-email">info@mischenco-group.com</span></a>
    <a target="_blank" rel="noopener noreferrer" href="http://31.129.222.69:8080/login.aspx?ReturnUrl=/default.aspx">Личный кабинет</a>
    </div>

    I can't find a place where this can be edited. Maybe it's a database query?
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade slide in bar design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    You can use jQuery to achieve that. Try the below code in WP Admin > Divi > Theme Options > Integration > Body Code:
    Code:
    Log In or Sign Up to view this code.
     
    Liu likes this.
  3. Liu

    Liu New Member

    Thanks. Everything worked. And that need do, to near prescribe the text with exiled: <a target= "_blank" rel= "noopener noreferrer" href="http://31.129.222.69:8080/login.aspx?ReturnUrl=/default.aspx " >Personal account< / a>
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Freelancer' Divi layout for all Pro members:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

  5. Liu

    Liu New Member

    Dear Administrator, thank you very much. You've been very helpful. You have the most useful resource on DIVI.
     
    1. PRO MEMBER PERKS Divi.Help Header AI Generator - Try the power of AI to generate a custom Divi header for you:Try Now
  6. Liu

    Liu New Member

    How to transfer phone, e-mail and "personal account". So that when the screen width is less than 534, each element is on a new line.
     

    Attached Files:

  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi.Help Layout AI Generator - Try the power of AI to generate a custom Divi layout for you:Try Now
  8. Liu

    Liu New Member

    thanks
     
  9. Liu

    Liu New Member

    You know your business very well. And share your knowledge.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo