My Sidebar Menu – Text Home disappear & Sidebar CSS in WPML

This topic has 4 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Jack Richardson

  • Avatar: boedakpinank
    boedakpinank
    Participant
    December 9, 2015 at 05:32

    HI please look at my site at PRivate, i have change css for sidebar Menu :

    .menu-mainmenu-container li{background-color:red!important; }
    .menu-mainmenu-container .menu > li > a{color:white !important;font-size:15px;padding-left:50px}

    BUt why i see my Home Text was dissapear?

    how to fix it?

    my second question, this css code (for SideBar Menu) just function with English language, when i change my language to Japan why this code not effect?

    thank you

    Regards

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 9, 2015 at 08:42

    Hello,

    1. Please use this css code:

    .menu-mainmenu-container .menu > li > a {
       background-color: red;
    }

    2. Please use this code:

    .widget_nav_menu li {
      background-color: red;
    }
    .widget_nav_menu li a {
        color: white !important;
        background-color: red !important;
        padding-left: 50px;
        font-size: 15px !important;
    }

    Best regards,
    Jack Richardson.

    Avatar: boedakpinank
    boedakpinank
    Participant
    December 9, 2015 at 10:23

    Big Thanks Jack, its worked, but i have another question, i see Social Media Icon in Footer, when click its going to share, i want it link to my social media Link such as http://www.facebook.com/yakiniku, how to edit that? i dont see the menu in theme option? thanks

    Regards

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 9, 2015 at 11:56

    Hello,

    You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), to change links you need edit the code, for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank"> and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.' with a link to your Twitter account.

    Best regards,
    Jack Richardson.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.