Hey there,
We have a website which has a quite big menu. Is there any possibility to create something like this in the newspaper menu?
We would like to add the hamburger button along with the menu in order to open a side panel and then add more options there, just like the example.
Hello,
You can add the mobile menu with drag and drop from tagDiv Composer add element-> mobile menu, like this => https://www.screencast.com/t/AmHKBnoaMW. To edit to display the menu like this => https://www.screencast.com/t/1gCCJi3cO, you need to add customer code in Theme Panel -> Custom Code -> Advanced CSS => https://www.screencast.com/t/fXjJOafru.
The code is:
#td-mobile-nav, .td-menu-background{
width: 22%;
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}
To do the menu you need to go in Appearance -> Menus => https://www.screencast.com/t/4caWPksk4 . To set the new menu edit with tagDiv Composer and select the menu to create => https://www.screencast.com/t/E2sZWGbFCJA.
Hope this helps you!
Thank you!
This is working like a charm. I will edit the side-panel menu that is appearing and return if I have any other questions.
One more question though:
Please, check this link: https://imgur.com/a/mgt78en
I want to change the colour of the mouseover: Make the hamburger button white and the background red. How is this possible?
Thank you again in advance for your help and feedback.
Please, ignore the above question since I found the way to change the colour.
Is it possible to help me create a similar effect like the example I provided in the 1st post? The one that “drops” a shadow on the rest of the website that it is not covered by sidepanel?
Hi,
For the menu effect, please replace the code with this one
#td-mobile-nav{
width: 22%;
}
.td-menu-background, .td-search-background {
background-image: none;
}
#td-mobile-nav {
background: no-repeat;
background-size: cover;
background-image: url(http://localhost/testsite/wp-content/uploads/2020/12/mobile-bg.jpg);
box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}
Replace the URL image with your image URL.
Also if you do not want to have this effect on mobile set the code only on those fields -> https://www.screencast.com/t/F3esk05dZat
Also, the theme has only a few settings for widgets, for example, you can change the fonts from here -> https://www.screencast.com/t/uEHpq6D6
Hope this will help you!
Hey again Anamaria,
About the code, you pasted… I have some issues:
1. I would like to have the opposite effect, meaning that I want the background of the side panel to be white and the rest of the page grey.
2. It seems that this code makes the website to load a bit slow… Also, what image? I simple want a colour overlay for the rest 78% of the page :).
Also, can you please check the reply in this thread I created on Dec 29 2020, at 3:34 pm? I have another question I need your help with.
Thanks again for your help and feedback.
Hello,
I’m sorry for a miss the question, I thought you solved it => https://www.screencast.com/t/lwDdYD3Ziwf -> https://www.screencast.com/t/CK0GWyoS. To change the color, select the element, in CSS change the background color =>https://www.screencast.com/t/TfyN2jv7 and in General -> Icon color => https://www.screencast.com/t/bBkFXnScYs6.
For creating the menu from the side panel, you need to go in WordPress -> Appearance -> Menus => https://www.screencast.com/t/jGUIBezaz, where you can create a new menu and add the menu items for mobile menu, after you can select the location for the new menu with tagDiv Composer => https://www.screencast.com/t/qVeJsidv.
For changing the image with color, you need the change the background-image with background-color =>https://www.screencast.com/t/5BdR2Auw, the new code is:
#td-mobile-nav{
width: 22%;
}
.td-menu-background, .td-search-background {
background-image: none;
}
#td-mobile-nav {
background: no-repeat;
background-size: cover;
background-color: #fff;
box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.1);
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}
Also, the fonts can be changed from tagDiv Composer on certain elements, for example, the title from Page Title => https://www.screencast.com/t/SJEj0mfVm.
Hope this helps you!
Thank you!
Hey again,
I wish you a happy new year!
I still do not think that you understand me when it comes to the mobile menu that slides when pressing the hamburger button.
I want the 22% of the menu to be white colour and the rest a grey one, not the other way arround.
Also, it seems that the mobile menus do not change from the default widgets in the other menu of theme’s fonts.
I have set them to 16 px but nothing is happening.
Please check here: https://bit.ly/3pNY0uY
Hello,
I edited the code, this is what it displays => https://i.imgur.com/L5QA4JN.png.
For changing the color on the menu, you need to go to Theme Panel -> Theme Colors -> Mobile Menu => https://www.screencast.com/t/hjiyKq7TLfm.
This is the new code to insert :
#td-mobile-nav{
width: 22%;
}
.td-menu-background, .td-search-background {
background-image: none;
}
#td-mobile-nav {
background-color: #fff;
}
.td-menu-mob-open-menu #td-outer-wrap {
box-shadow: 0 0 46px #000000;
position: unset;
transform: unset;
}
To change the fonts, please go in Theme Panel -> Theme Fonts -> Mobile Menu => https://www.screencast.com/t/CuCBFKWP. Now this need to work.
I try to help you, but please notice that the support team can provide only support for existent options and no implementation of the code(for new options).
Hope this helps you!
Thank you!
Hey again Anamaria,
I have no issue with your support. On the contrary, I am very satisfied with the help and feedback you provide.
However, there is still an issue with the code you provided above. I am still getting white instead of grey on the rest 78% of the site.
Please, check and verify the accuracy of my feedback: https://bit.ly/3s6zMhI
Hello,
You need to change the background on the mobile menu from Theme Panel -> Theme Colors -> Mobile Menu/Mobile Search -> Background Gradient Color => https://www.screencast.com/t/OIMEy7FGI, and select the opacity to the level you want.
For me look like this => https://www.screencast.com/t/ZmKTxSzo.
Hope this helps you!
Thank you!
