Add social icon to wordpress navigation menu

Support Forums Cian – WP Theme Add social icon to wordpress navigation menu

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4572
    Serena
    Participant

    Hi, I would like to insert a social icon instead of the word FACEBOOK in top menu. I tried to insert it as a css background property, the icon was displayed but it’s not clickable and the link doesn’t work. Can you help me? Thanks a lot.

    #4573
    CreaboxThemes
    Keymaster

    Hi Serena,

    can you send me your url to check it?

    Regards

    #4574
    Serena
    Participant

    Yes sure: http://www.eataround.co
    Actually it’s not implemented.

    But this is what i do:
    I apply this class .menu-facebook to my link in menu.

    CSS CODE:
    .menu-facebook {
    text-indent: -9999px;
    background-image: url(http://www.eataround.co/wp-content/uploads/2015/05/facebook.png) !important;
    background-repeat: no-repeat !important;
    margin-left: 100px !important;
    width: 25px;
    }

    And i’ve also noticed that the script that enable the auto scroll doesn’t allow the _blank property (i can’t open social in a new window).
    Thanks a lot

    #4575
    CreaboxThemes
    Keymaster

    Hi serena,

    for example, if you want the menu item ‘contattaci’ will open in a new tab, you have to add the next code in the option Custom JS, in the page Appearance > Theme Options > Custom Script:

    jQuery('#menu-item-294').removeClass('scrollTo');

    This is solution is explained in the documentation, in the section Theme Option Panel > General.

    Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.