Youjoomla Support Forums (http://www.youjoomla.com/joomla_support/index.php)
-   YouGrids (http://www.youjoomla.com/joomla_support/forumdisplay.php?f=171)
-   -   Changing the default name of mini menu to image? (http://www.youjoomla.com/joomla_support/showthread.php?t=12456)

dingo_d 03-31-2014 02:39 PM

Changing the default name of mini menu to image?
 
Hi!

I was wondering, is it possible to change, when I resize window and get the small menu (drop down), the default title of the menu, to the image? A logo perhaps?

I found the piece of code and made edit in inspect how I'd like it to be

Code:

<span class="yjmm_select" id="yjmm_selectid"><img src="images/logo_mini.png" alt="logo mini" width="79" height="24" style="padding-top: 8px;"></span>
it would look like this.

Right now it says 'Home', or 'Početna' in the original language.

I don't know what file I would need to edit for this change to happen.

Are you sure your are posting in product assigned forum?: Yes

What is your CMS version?: Joomla 3.x

MySQL Version: 5.x

PHP version: 5.x

Link to installation: Po

Have you edited any files? If yes tell us which ones.: Yes

Is this personal or client website?: Client

arefund 04-01-2014 05:05 AM

Hello dingo_d.

You can make it with the css, add this inside the custom_responsive.css file at the bottom.

@media only screen and (min-width: 240px) and (max-width: 980px) {
#logo{
display:none;
}
.top_menu_poz_navbar,
#mmenu_holder{
width: width of the image bellow !important;
}
span#yjmm_selectid{
background:url( your logo image with the menu icon) no-repeat center center;
text-indent:-999px;
}
}

Thank you.

dingo_d 04-01-2014 11:07 AM

That did the trick, kinda :D Thank you :)


All times are GMT -4. The time now is 04:05 PM.

Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.