• Resolved myhero

    (@myhero)


    Hi,

    I have setup the theme and it’s quite good, though I have sub-text appearing in my primary nav menu (category menu).

    Where do I find this text and How can I remove it?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter myhero

    (@myhero)

    Also when I add the Ads Right widget to the right sidebar – it does not display the advert but does display the shortcode?

    Theme Author Richie KS

    (@rkcorp)

    1. add to custom css
    #main-navigation span.menu-decsription { display:none; }
    2. don’t know, works fine in my end. do not add space in your shortcode name like adsense 300, should be adsense300

    Thread Starter myhero

    (@myhero)

    Thanks for the response Richie

    Unfortunately neither worked for me.

    1. I’ve added: #main-navigation span.menu-decsription { display:none; }
    To my style.css (child theme)
    – cleared cache, no change

    2. The shortcode I’m using for the ‘right’ advert is “[wp_ad_camp_5]”
    – It is being used the same way as the banner ads.
    – I’ve added right ad widget to the right sidebar to show the problem (the same ad shortcode is being used elsewhere. Ad size (300×250)

    This is a link to the website

    Theme Author Richie KS

    (@rkcorp)

    try
    #custom #main-navigation span.menu-decsription { display:none !important; }

    did you add the shortcode in wp-admin->appeareance->theme option->ads setting->right sidebar ads? try other place like header or single post ad also..see if it work.

    Thread Starter myhero

    (@myhero)

    Thanks

    1. Tried that too, no luck

    2. Yes I’ve added it correctly. I’ve added it to “Advertisement in Single Post Bottom” so you can see the code works (have a look at a single post) but it does not work in the right sidebar for some reason.

    Theme Author Richie KS

    (@rkcorp)

    open lib/functions/widget-functions.php edit line 415
    <?php echo stripcslashes($get_ads_right_sidebar); ?>
    to
    <?php echo stripcslashes(do_shortcode($get_ads_right_sidebar)); ?>

    Theme Author Richie KS

    (@rkcorp)

    did you try enter this in theme option->custom css
    #custom #main-navigation span.menu-decsription { display:none !important; }

    also there’s an extra ‘;’ i saw on child style eariler.

    Thread Starter myhero

    (@myhero)

    Brilliant, all solved. Thank you Richie!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to remove sub-text that appears in primary menu?’ is closed to new replies.