Jump to content

change the font in the big menu dropdown

Recommended Posts

Site URL: https://www.addictgalerie.com/gallery-view

I managed to put a big menu extension with the vidéo of Adlytic Marketing. However I want to change only the fonts of the subfolders ( what is circled in my square in red on the screen shoot). It is possible? 

here is the line of code I pasted in CSS: 

/********* Mega menu code *********/
/* Adjust width and vertical position */
.Header-nav--primary .Header-nav-inner .Header-nav-item--folder:nth-child(5) .Header-nav-folder {
    position: fixed;
    width: 120vw;
    left: 75vw;
    top: 53px;
    display: none;
}

/* Reveal menu when someone hovers */
.Header-nav--primary .Header-nav-inner .Header-nav-item--folder:nth-child(5):hover .Header-nav-folder {
    display: block !important;
}

/* Hide the default dropdown */
.Header-nav--primary .Header-nav-inner .Header-nav-item--folder:nth-child(5) .Header-nav-folder > a {
    display: none;
}
/* Make links not underline, and give more vertical spacing */
.Footer-blocks .sqs-block-html p a{
  font-size:!important;
  border-bottom: 0px;
  line-height: 1.6em;
}

 

 

Capture d’écran 2021-05-06 à 11.25.48.png

Link to comment
  • Replies 17
  • Views 821
  • Created
  • Last Reply

Top Posters In This Topic

On 5/12/2021 at 4:19 PM, Theo4543 said:

Thank you and is it possible to target only the words whose font you want to change?

Add to Custom CSS

/* Shop mega menu font */
a[href="/shop"] + span * {
    font-family: proxima-nova !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 5/20/2021 at 4:58 PM, Theo4543 said:

Hello thank tou, I am wondering if it is possible to have a similar effect on the big menu as on a classic drop down menu? That is to say that the color of the word is darker when the mouse is passed over it. (look screenshoot) 

page link: https://www.addictgalerie.com/home

 

 

Capture d’écran 2021-05-20 à 11.42.16.png

Capture d’écran 2021-05-20 à 11.42.25.png

You mean

Initial: gray

Hover: to black

Is this right?

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
6 hours ago, Theo4543 said:

"ART" and "DESIGN"1233708725_Capturedcran2021-05-2610_42_58.thumb.png.1f2749c645fb5cf03eec7a00897c5787.png

Add to Design > Custom CSS

/* design-art font */
div#block-yui_3_17_2_1_1619182976985_7961 p:first-child *, div#block-yui_3_17_2_1_1604659240697_7131 p:first-child * {
    text-transform: lowercase;
    font-family: 'proxima-nova' !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.