Join our new community forum for support & discussion

Join Now

Home Support Themes ExpertHive menu Navigation Label

menu Navigation Label

  • Author
    Posts
  • alphagoldafrica

    I would like to add <span class=”pa-callout-left”>NEW</span> to the Post a Request menu item but i cannot find Post a Request. This is a hidden menu item. Where may I go to customise it?

    ihor developer

    There are 2 ways to customize it, via CSS or by overriding the /request/submit/request-submit-link.php file via a child theme. If you’re familiar with CSS tweaks please try using this CSS class:

    .hp-menu__item--request-submit {...}

    alphagoldafrica

    Hi,

    This is what i think I should record under navigation label in appearance/customise:

    request-submit<span class=”pa-callout-right”>NEW</span>

    This is my css code:

    .pa-callout-right {
    font-size: 10px;
    margin-left: 4px;
    position: relative;
    top: -10px;
    margin-bottom: 13px;
    color: #ffffff;
    background-color: #cf2e2e;
    padding: 3px 4px;
    border-radius: 3px;
    }
    
    @keyframes bouncing {
    0% {top: -6px;}
    100% {top: -10px;}
    }

    I don’t know how to fit your suggested css code .hp-menu__item–request-submit {…} in my suggested code above. Please kindly help me?

    Thanks

    ihor developer

    You can try inserting a new content this way:

    .hp-menu__item--request-submit::after {
         content:'NEW';    
    }

    And style it by adding custom CSS rules, for example some of the posted above. This doesn’t require editing the template parts or menu items directly.

    alphagoldafrica

    Thank you very much Ihor. The code worked nicely:-)

Viewing 5 posts - 1 through 5 (of 5 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.