Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Styles.css Compression on WP Theme

    I have a WP theme I downloaded for free online. I made a significant amount of changes to the theme it no longer looks like the old one.

    I was trying to compress the style sheet to reduce its size but when ever I remove the credits in the beginning of the sheet the theme does not function.

    Some sort of encryption somewhere in the theme?

  • #2
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Unlikely, but you're very likely breaking copyright laws. Please make sure you have permission from the author to delete the credits--then we'll help you.

  • #3
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Apostropartheid View Post
    Unlikely, but you're very likely breaking copyright laws. Please make sure you have permission from the author to delete the credits--then we'll help you.
    The credit will be given the on the actually site "powered by wp designed by ** modified by ** etc."

    I am just trying to minimize the overall size of the theme for faster page loads. It's a work in progress.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    There are certain meta data in a WP stylesheet that are required. For example, my friend's stylesheet starts as so:
    Code:
    
    @charset "utf-8";
    /*
    Theme Name: In Lara’s World
    Theme URI: http://in-mundo-larissae.co.uk/
    Description: miaaow!
    Version: 2.0
    Author: Cyan-Light
    Author URI: http://cyan-light.co.uk/
    */
    

  • #5
    New Coder
    Join Date
    Dec 2008
    Posts
    59
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Apostropartheid View Post
    There are certain meta data in a WP stylesheet that are required. For example, my friend's stylesheet starts as so:
    Code:
    
    @charset "utf-8";
    /*
    Theme Name: In Lara’s World
    Theme URI: http://in-mundo-larissae.co.uk/
    Description: miaaow!
    Version: 2.0
    Author: Cyan-Light
    Author URI: http://cyan-light.co.uk/
    */
    
    Thanks for the info.

    I just removed this, compressed the style sheet and updated the theme via themes under appearance in the dashboard.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •