Home Forums Themes Support Claue Mega Menu Customize

Topic Resolution: Resolved
Viewing 14 reply threads
  • Author
    Posts
    • #16316

      Hi Harry,

      Hope you are doing fine.

      Could you please have a look to my website? https://look.ir

      I have installed Max Mega Menu and customized that.

      I just wonder is there any chance to bring back the menu badges or change the color of some words in the menu?

       

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16323

      Hi Rahim,

      Please add below code and add class for menu item like as you did with original menu

      .mega-menu li.hot > a:after,
      .mega-menu li.sale > a:after,
      .mega-menu li.new > a:after {
      	position: absolute;
      	color: #fff;
      	font-size: 9px;
      	padding: 1px 7px 0;
      	border-radius: 50px;
      	right: -28px;
      	top: -10px;
      	line-height: 16px;
      }
      .mega-menu ul li.hot > a:after,
      .mega-menu ul li.sale > a:after,
      .mega-menu ul li.new > a:after {
      	right: -3px;
      	top: 5px;
      }
      .mega-menu li.hot > a:after {
      	content: 'Hot';
      	background: #ff3e11;
      }
      .mega-menu li.sale > a {
      	color: #ec0101;
      }
      .mega-menu li.sale > a:after {
      	content: 'Sale';
      	background: #ffa800;
      }
      .mega-menu li.new > a:after {
      	content: 'New';
      	background: #01bad4;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16325

      Hi Harry,

      Where should I add these codes?

      Max Mega Menu custom css? or the Style.css of the child theme? Or somewhere else?

       

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16328

      Hi Rahim,

      Please add in Claue > Theme Option > General Layout > Custom CSS

       

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16360

      Hi Harry,

      Hope you are doing fine.

      I added the css and added the word for example “new” in the menu in optional css.

      but nothing has happened in the mega menu!

      Can you please have a look?

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16367

      Hi Rahim,

      Sorry for wrong class, please use new code

      .mega-menu li.mega-hot > a:after,
      .mega-menu li.mega-sale > a:after,
      .mega-menu li.mega-new > a:after {
      	position: absolute;
      	color: #fff;
      	font-size: 9px;
      	padding: 1px 7px 0;
      	border-radius: 50px;
      	right: -28px;
      	top: -10px;
      	line-height: 16px;
      }
      .mega-menu ul li.mega-hot > a:after,
      .mega-menu ul li.mega-sale > a:after,
      .mega-menu ul li.mega-new > a:after {
      	right: -3px;
      	top: 5px;
      }
      .mega-menu li.mega-hot > a:after {
      	content: 'Hot';
      	background: #ff3e11;
      }
      .mega-menu li.mega-sale > a {
      	color: #ec0101;
      }
      .mega-menu li.mega-sale > a:after {
      	content: 'Sale';
      	background: #ffa800;
      }
      .mega-menu li.mega-new > a:after {
      	content: 'New';
      	background: #01bad4;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16373
      This reply has been marked as private.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16375

      Hi Rahim,

      Sorry the code of mega menu override my code please use below code

      .mega-menu li.mega-hot > a::before, 
      .mega-menu li.mega-sale > a::before, 
      .mega-menu li.mega-new > a::before {
      	position: absolute;
      	color: #fff;
      	font-size: 9px !important;
      	padding: 1px 7px 0;
      	border-radius: 3px;
      	right: -28px;
      	top: -10px;
      	line-height: 15px !important;
      	bottom: auto;
      	left: auto;
      font-family: arial, sans-serif;
      }
      .mega-menu ul li.mega-hot > a:before,
      .mega-menu ul li.mega-sale > a:before,
      .mega-menu ul li.mega-new > a:before {
      	right: -3px;
      	top: 5px;
      }
      .mega-menu li.mega-hot > a:before {
      	content: 'Hot';
      	background: #ff3e11;
      }
      .mega-menu li.mega-sale > a {
      	color: #ec0101;
      }
      .mega-menu li.mega-sale > a:before {
      	content: 'Sale';
      	background: #ffa800;
      }
      .mega-menu li.mega-new > a:before {
      	content: 'New';
      	background: #01bad4;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16394

      Hi Harry,

      Thank you for the help.

      Now the badges work fine in my menu.

      But could you please have a look to my menu?

      As you know my wesite is in RTL direction.

      So how can I have the badges on the left of the word?

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16397

      Hi Rahim,

      Please add more code

      .rtl #mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item a.mega-menu-link::before {
      float: left;
      }

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16400
      This reply has been marked as private.

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16403

      Hi,

      We hide badge on mobile because it display not good.

      Best regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16404

      Hi Harry,

      Oh, I understand that.

      I just checked my mobile view of the menu and realized that the badge is so far from the menu word!

      Is there any chance to put it close to the word on it’s left like desktop view?

      Rahim Vaziri
      CEO & Founder at Look.ir

    • #16405

      Hi Rahim,

      Sorry i tried but don’t have solution for this.

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    • #16406

      Harry,

      I appreciate and respect your try. 🙂

      Best support by you.

      Good Night.

      Rahim Vaziri
      CEO & Founder at Look.ir

Viewing 14 reply threads

You must be logged in to reply to this topic.