- This topic has 11 replies, 2 voices, and was last updated 6 years, 3 months ago by Tom.
-
AuthorPosts
-
January 7, 2018 at 5:51 am #465019Swadhin
Hi there,
1) I am wanting to install system fonts on my website, had custom fonts set up so am confused how to go back.I found the option of inherit, system stack which should I select to completely stop Google fonts from loading?
Actually, I want to the whole typography to be similar to this site https://nogluten.io/food-matters/ including header H3, H3 etc tag typography and line height, para height also. He uses something called Sergiu font. Please tell me how can I achieve that.
2) I want the spacing option of this theme https://woorkup.com/kinsta-affiliate-program/. (I mean the pixel width of content and sidebars thing). I tried achieving that using a screenshot tool but still my site doesn’t reach that exact pixel.
3) How to have the shadow to the menu bar and submenu items like we see here on this site https://neilpatel.com/blog/algorithm-seo-updates/
P.S. I guess this might not be a theme functionality (I don’t know if it is) but can you say how to achieve that translate options beside the logo of this site https://neilpatel.com/blog/algorithm-seo-updates/
Thanks.
Best regards,
-SwadhinJanuary 7, 2018 at 9:20 am #465182TomLead DeveloperLead DeveloperHi there,
1. I believe Brian just uses the System Stack option in our typography settings. You can right click elements and click “Inspect” in Chrome to find out what the specific line heights are etc..
2. That site is using our standard sidebar sizing using percentages. The sidebar is set to 30% which you can do in Customize > Layout > Sidebars.
3. That website is using this CSS:
.main-navigation ul ul { -webkit-box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); }
4. They’re likely using some sort of multilingual plugin for this – maybe WPML or Polylang?
Hope this helps π
January 7, 2018 at 9:17 pm #465509SwadhinHi Tom,
Thank you so much. Everything worked. I even went forward and added the code snippet to animate menu and it worked wonders. Thank you so much.
One thing that didn’t work, though, is the shadow for the total menu bar even as it scrolls down. Did I miss something? π
P.S. How do I add the same menu animation (like this https://docs.generatepress.com/article/adding-menu-hover-animation/)to footer links.
Thanks so much for all the support. I am truly enjoying the Generatepress community. π
January 8, 2018 at 11:59 am #466087TomLead DeveloperLead DeveloperAny chance you can link me to your site so I can see why the shadow isn’t working correctly?
January 8, 2018 at 10:47 pm #466361SwadhinYes sure. I have linked the site in the website link section and I’d be glad if you could take a look into that.
January 9, 2018 at 8:53 am #466802TomLead DeveloperLead DeveloperI’m not seeing any navigation shadow, what CSS did you use?
I’m also not seeing any footer links – can you add them in?
Thanks!
January 9, 2018 at 9:32 pm #467227SwadhinHi Tom,
I used the CSS you provided me:
.main-navigation ul ul { -webkit-box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); }
It did add a shadow on the submenu (If you over on the first menu item to open the dropdown) but not on the whole navigation bar.
Thanks.
January 10, 2018 at 9:41 am #467744TomLead DeveloperLead DeveloperThat CSS will apply to the entire sub-menu box, which is does.
Are you wanting a shadow for the entire navigation bar?
January 10, 2018 at 9:53 pm #468134SwadhinYes Tom, I wanted that. π
Would appreciate if you can please help me π
January 11, 2018 at 9:38 am #468532TomLead DeveloperLead DeveloperGive this a shot:
.main-navigation { -webkit-box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); box-shadow: 0 20px 29px 0 rgba(207,67,20,.5); }
January 11, 2018 at 8:26 pm #468907SwadhinThanks a ton Tom. It worked. π
January 11, 2018 at 9:00 pm #468936TomLead DeveloperLead DeveloperYou’re welcome π
-
AuthorPosts
- You must be logged in to reply to this topic.