Hunk » Foreign trade station construction » Avada Theme » A Method of Image Menu Navigation Based on AVADA Theme

A Method of Image Menu Navigation Based on AVADA Theme

Avada has powerful functions. Today, let's introduce how to use the Avada mega menu to implement the AVADA theme and how to implement the picture menu navigation bar (navigation picture)

Note: This article is based on Avada 6.02. If you are still a 4-series or 5-series version, it is recommended to upgrade, because if you do not upgrade, many bugs will appear later. The avada theme upgrade reference AVADA theme update method

Preparation content: Each level 1 classification corresponds to a picture with a width of 100~500px, and the height is adjusted proportionally. Generally, the width height ratio is 1.1 or 1.3:1. The specific width is adjusted according to the actual situation. The size of the picture demonstrated in this paper is 500 × 500. It is better if it is a hollow png format picture.

Today, I demonstrated six classifications, only one level classification, as shown below. If you have 8, 10 or 12 categories, it's OK, but it's better to have an even number for easy typesetting.

LED bulb
LED Streetlight
LED Flood light
LED spot light
LED High bay
LED Linear light

1. Set picture navigation and upload pictures

Generally, after we set the menu, we will achieve the following effect. Next, we will implement the image navigation effect step by step.

 Avada theme uses mega menu to achieve picture navigation effect 1

Enter the appearance menu, click the next level of image navigation you want to set, that is, the product I demonstrated, and then click avada menu options to set.

Fusion Mega Menu open

Full Width Mega Menu open

Mega Menu Number of Columns Select the appropriate number of columns. For example, if I have six classifications, you can select two rows and three columns, or six columns in a row. You can set it according to your actual situation.

Click Save to save the above three settings.

 avada mega menu image navigation 2
 avada mega menu image navigation 3
 avada mega menu image navigation 4
 avada mega menu image navigation 5

Next, we enter the first category to upload navigation pictures, click the small triangle on the LED Linear light menu to expand, click Avada menu options, click Upload image behind Mega menu thumbnail, and then upload the previously prepared category pictures.

 avada mega menu image navigation 6
 avada mega menu image navigation 7

Just drag it in. Then select the image corresponding to the LED the near light, fill in the alt tag, and click select.

 avada mega menu image navigation 8

You can see that the image has been inserted successfully. Then click save to save.

 Avada theme uses mega menu to achieve picture navigation effect 9

Next, use the same method to insert pictures for the remaining five categories, and then click Save on the menu to save.

 Avada theme uses mega menu to achieve picture navigation effect 10

2. Adjust the size and Hover effect of the picture

2.1 Adjust the display size of the picture

The image has been added, but the size must be displayed incorrectly and needs to be readjusted. The size display is better. It is flexible and there is no fixed standard.

 Avada theme uses mega menu to achieve picture navigation effect 11

We usually use a layout with pictures on the top and text below. So the width of the picture should exceed the width of the text. The longest width of the six categories I demonstrated is about 180px, so let's tentatively determine that the width of this picture is 180px.

We use the following CSS code to adjust the display width and height of the image. Copy the following code to avada – theme options - Custom Css.

 .fusion-megamenu-icon{width:280px! important;margin-right:5px;margin-bottom:5px;}
.fusion-megamenu-icon img{max-height:280px!important;}
.fusion-megamenu-wrapper .fusion-megamenu-submenu .sub-menu a{padding:5px 10px!important;}
.fusion-megamenu-wrapper .fusion-megamenu-submenu{padding:10px 0!important;}
.fusion-megamenu-title{padding:0 10px 5px!important;}
.fusion-megamenu-wrapper .fusion-megamenu-submenu:hover {background:#fc821b!important;}
.fusion-megamenu-wrapper .fusion-megamenu-submenu:hover a{color:#fff!important;}
.fusion-main-menu .sub-menu li a:hover{background:#333!important;}
.fusion-megamenu .current-menu-item {background:#fc821b!important;}
.fusion-megamenu .current-menu-item a{color:#fff!important;}

The display effect is as follows. Then change the values of width and max height to 180 (if your picture is not 1:1, the height will be changed to the corresponding value proportionally), and click Save in the lower right corner

 Avada theme uses mega menu to achieve picture navigation effect 12

Refresh the foreground again, and we can see that the picture has been enlarged. But this is not very nice. We usually put the text below the image, so we need to adjust the width of the image navigation at this time.

 Avada theme uses mega menu to achieve picture navigation effect 13

Let's go to avada – theme options – menu – mega menu, select custom width after Mega Menu Max Width, and then enter 608 in the box below. Note that this number is not fixed and needs to be adjusted according to your own actual situation.

After confirmation, click save change to save, and then refresh the foreground page. You can see that we have achieved the desired effect, the effect of the upper picture and the lower text.

 Avada theme uses mega menu to achieve picture navigation effect 14
 Avada theme uses mega menu to achieve picture navigation effect 15

2.2 Set the hover color

Next, let's adjust the hover and active colors of the image. My default color is orange. If you don't like this color or it doesn't match your website, you can enter a new color yourself.

 Avada theme uses mega menu to achieve picture navigation effect 16

The method is in the newly added css code. Change the color values of these two places to the color values you need, and then save and refresh to achieve the effect

 Avada theme uses mega menu to achieve picture navigation effect 17

2.3 Adjustment of other effects

The above method has basically made the effect of image navigation. I think it is enough, but if you want to do something else, you can also do it. For example, you can add a background to the whole picture navigation. The location is here.

 Avada theme uses mega menu to achieve picture navigation effect 18

I won't demonstrate it. You can study it yourself. It's not very difficult.

3. FAQ

3.1 How to set secondary classification?

The method is similar to that above. It still uploads images in the first level classification. Level 2 classification does not need to upload pictures. The effect is as follows.

 Avada theme uses mega menu to achieve picture navigation effect 19

3.2 Are you sure to set according to the data above?

What I don't need is the method. As long as you learn the method, you can set it according to your own actual situation.

3.3 Can the width of featured navigation be wider than the site width?

Yes, for example, my site width is 1100, and you can set it to 1200, 1300 until it reaches its maximum value. You only need to set the number in the custom width.

Scan and share the circle of friends

 A Method of Image Menu Navigation Based on AVADA Theme

Follow Hunk WeChat official account

Hunk has entered the foreign trade industry for 10 years, engaged in foreign trade business, and transformed technology for 12 years, engaged in foreign trade station building marketing. If you are going to build an independent foreign trade station, we have many professional technical articles for your reference. Hunk recommends Purchase domain name on namesilo , on siteground or cloudways Buy space on and use Google email. Of course, if you are not good at technology and have no time to study, you can find Hunk outsource to build a website or pay for solving problems

18 replies on "How to realize picture menu navigation with AVADA theme"

Hello, Hunk, I have three primary categories in total. I used the method described in the article to set up image navigation, and three columns of images appear in vertical rows. In this case, the line of sight is blocked. How can I view three columns horizontally?

Hunk, Hello! You set the mega menu in the way you shared, but now there is a problem that there is no space between the pictures and the text in the drop-down menu. How do you adjust this?

Hunk, Hello, I saw that your operation is to classify products under the first level menu, and then add product pictures as small icons. Is there a way to classify it into multiple columns under the secondary menu, and then make small icons for the product series under the secondary menu? It seems that this reply function cannot upload photo screenshots.

Hello Hunk, the CSS on Avada6 doesn't seem to work anymore. The size of Mega Manu's image cannot be modified. Do you have a new one?

hunk, Is there any way to make the background color of the submenu transparent, so that you can see the banner.

This function is just needed. It will be better to change the product image to a transparent background or a transparent sketch background. Thanks for sharing~

Post reply

Your email address will not be disclosed. Required items have been used * tagging

-->