- This topic has 7 replies, 3 voices, and was last updated 1 year, 8 months ago by
Tom.
-
AuthorPosts
-
October 8, 2020 at 3:07 am #1478118
Jatin
Hi Guys,
I have two questions on General Tab Settings:
1) What is the different between Float and Flexbox
2) What are the best practices for General Tab. The configuration in screenshot https://imgur.com/ea3c6Nt is recommended ?
Should i be using SVG icons / inline embedding etc.. Please advise.October 8, 2020 at 4:22 am #1478206David
StaffCustomer SupportHi there,
1. 3.0 introduces flex box as the themes Grid CSS. You can read more here on the improvements those changes bring:
https://generatepress.com/generatepress-3-0-a-new-era/
2. Also covered in the above. Choosing an External File for CSS print method can improve performance.
3. SVG – this replaces the Themes icons ( Hamburger, Search etc ) Icon Font. It probably won’t make any noticeable performance improvements but it does mean the site makes 2 less requests.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 9, 2020 at 6:57 am #1480368Jatin
Hi David,
2. Also covered in the above. Choosing an External File for CSS print method can improve performance.
>> i have gone through the link and changed it to External CSS file. There is nothing much about this in the link, Can you please let me know which external file its now saved it and how it improves the performance.I have changed it to External File and then it asked me to Regenerate CSS and then i click on that. Is it safe to do so and what happens when i clicked on Regenerate External CSS.
Below text i can see in the URL for External CSS but could not clear my doubts.
If you’re a GP Premium 1.11 user then you have the option to keep it inline or write it to an external CSS file.October 9, 2020 at 10:47 am #1480884Tom
Lead DeveloperLead DeveloperWriting the dynamic CSS to a file means it’s cached as a static file by the users browser. This means the CSS doesn’t have to regenerate itself on every page load.
You only need to manually regenerate the file if you notice issues – it should happen automatically when necessary.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 9, 2020 at 12:23 pm #1481003Jatin
Do you advice to configure for external CSS?
October 9, 2020 at 1:30 pm #1481102Tom
Lead DeveloperLead DeveloperYes, it’s not a bad idea. You can always do your own performance tests before and after.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 10, 2020 at 4:30 am #1481728Jatin
Thanks Tom.
October 10, 2020 at 9:41 am #1482265Tom
Lead DeveloperLead DeveloperNo problem!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.