Just reviewing the site,
Over the last few weeks, I have been adding and removing various custom css styles provided to make changes to the theme.
Looking at the page source code, I can see these changes which are all in dated times and dates, of which, some are duplication’s which may be contributing to page load times.
When you add a new style, is this added to the current custom style sheet or does it replicate and then add new syles?
If that makes sense?
Assume you’re using the design setup tool in 8.3 and below and each time you make changes in the left column and click save changes the system does not override the former instead it will replicate and then add the new styles below and so on each time you make a change in that manner.
What we usually do is copy all CSS styles that is available and save it in a note document just in case then delete all the settings to the right and click “Save CSS Changes Only” – after the change you can click save changes from the left column once again if that is the applied CSS changes you want to add or you can copy and paste from the save note the styles you want to appear and click save CSS changes only once again and you should be good to go.
Do not know if the above procedure make any sense or any help to you but this is the procedure we being using for a while – may be another member has different opinions they can post here.
P.S. There were a post some time ago that states that when uploading large text files to a post such as the one above it would be best to zip it first or something to that effect before uploading 🙂 Best Wishes
I personally add all my CSS tweaks to my Child Theme’s style.css file.
Thanks for that,
Forgot about posting large amounts of data, remember next time 😉
I keep going on about inline styles and using design setup to add css changes. We have users with 1000 lines of css and js code all overwriting the other and they wonder why their website isn’t performing.
In a nutshell Poor code affects seo so use a child theme.
Richard, when I used design setup in the past I just deleted the css from the box above the last dated set of css ie. If /*** Styles Added Tuesday 16th of December 2014 01:10:05 PM ***/ was the last one then I deleted everything above it and clicked Save CSS Changes Only.
It is preferable to put these changes in Custom Meta Data instead or even more preferable a child theme. You can always use the Design Setup to play around and help you identify the CSS needed to tweak certain things then put the css in child theme or custom meta data.
As Errol says back up your css changes in a text file in case something goes wrong but if you use a child theme you have them saved anyway,
Well Aaron, it looks like you and I are the only ones bothered about SEO, site load speed and doing things correctly 😉
Clive, where do you get that idea from – I use child themes and am very much bothered about doing things correctly. I stated it was preferable to use a child theme. I merely gave advice for if someone was going to use design setup. As I also stated my experience of design setup was from the past (when I was new to PP). Rant over. 🙂
🙂 Np @Richard – Hmm I guess it is the Forum regular weekend special as usual.
All the procedures mention above are viable tools that can be used by users to achieve their goals in developing their site, we must remember that a city was not build with just one road alone, there are many other avenues and boulevard to reach your destination.
If I’m correct the Q was based on the “Design Setup” tool which was implemented in the theme from as far back that I can recall and it as assisted many over the years seeing that less complication or mind boggling and unwanted features (that is added and not even needed in the theme to function properly) is one of the key ingredients to ease of success in this fast-pace moving environment we’re living in today.
Many may not birth as super-human and if we can recall our childhood days are the one told to us by our parents, we first had was to creep then walk and eventually get up and run. During our growth many learn to swim and some even dive to the depth of the oceans – some wind up flying through the sky and eventually wind up launching above the earth atmosphere to the outer boundaries of space.
This is just my 2 Pence; sorry for the lengthy post I try to make it as short as I possibly can. Knowing that it is the weekend so I’m wishing one and all a happy and exciting weekend filled with Joy and Laughter and keep in mind that some may like coffee and some tea and some may like both – some may like rum, brandy, beer, stout or other things – Enjoy. 🙂
Thank you all for your valued contributions
@Richard, can you delete/edit those Code from your post ? It makes the search result odd looking.
Edit it from here ( as logged in user ). https://www.premiumpress.com/forums/reply/94456/edit/
Go to above URL to edit.
NP, but no edit feature to do that.
Go to this url, to edit. https://www.premiumpress.com/forums/reply/94456/edit/
Copyright © 2010-2020 PremiumPress Limited.