This topic has 8 replies, 2 voices, and was last updated 1 years ago ago by Rose Tyler
Hi 8theme team,
Is it possible to add a static block on the most upper menu?
For example; https://xstore.8theme.com/elementor/
Can we add a static block on the upper text “contact us”?
Also, can we add a scroll to this so we can make it as large as we want (to add more content)?
Thanks!
Hello,
Thank you for contacting us and for using XStore.
We can try to create an example on your site, please provide the URL and temporary wp-admin access.
Kind Regards,
8theme team
Hi Rose,
Thank you!
Details added on PCA.
Hello,
We appreciate your prompt response.
Private Content
Kind Regards,
8theme team
Hi Rose,
Thank you so much.
This is a very useful feature which we need because we have tons of data we need to display and other themes don’t have this.
Just wondering on how we can se the dimensions for the static blocks (to make it larger etc.) and how we can add a scroll feature to it?
Appreciate your help 🙂
Hello,
You’re welcome!
1/ The width can be changed here – https://prnt.sc/Jp-m5pTBMVuw
2/ Custom CSS code:
.item-design-mega-menu .nav-sublist-dropdown>.container {
overflow-y: scroll;
height: 200px;
}
Kind Regards,
8theme team
Hi Rose,
Thanks!
Just one more thing;
1) can you provide the code for editing the size of the scroll? make it thicker so its visible
2) code so we can edit the color of the scroll?
Hello,
Thank you for choosing XStore as your WooCommerce WordPress theme.
Please change the previous code to:
.header-main .item-design-mega-menu .nav-sublist-dropdown>.container {
overflow-y: scroll;
height: 200px;
}
/* scroll width */
.header-main .item-design-mega-menu .nav-sublist-dropdown>.container::-webkit-scrollbar {
width: 20px;
}
/* scroll track */
.header-main .item-design-mega-menu .nav-sublist-dropdown>.container ::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 10px;
}
/* scroll handle */
.header-main .item-design-mega-menu .nav-sublist-dropdown>.container::-webkit-scrollbar-thumb {
background: red;
border-radius: 10px;
}
Read more – https://www.w3schools.com/howto/howto_css_custom_scrollbar.asp
Kind Regards,
8theme team
You must be logged in to reply to this topic.Log in/Sign up