1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How To Remove Call To External CSS Files

Discussion in 'CSS' started by kertoon, Sep 5, 2016.

  1. #1
    I need to combine three external CSS files to speed up my website. As instructed i have to remove the calls to the old CSS files.

    Where to locate the call to my three external files?

    The three external files image attached. external files.JPG
     
    kertoon, Sep 5, 2016 IP
  2. Blizzardofozz

    Blizzardofozz Well-Known Member

    Messages:
    132
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    118
    #2
    One is call for Google font, not a css file. You remove it if you don't need the font. I haven't used WP for a long time but you should find header.php in appearance\editor
     
    Blizzardofozz, Sep 5, 2016 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    However, changing the code directly will not be kept if you update the theme. I would actually suggest installing some sort of css/js minifyer plugin - some of them combines and hosts on your host.
     
    PoPSiCLe, Sep 6, 2016 IP
  4. Shahidul Islam

    Shahidul Islam Active Member

    Messages:
    42
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #4
    First one is css file used to design your website. You can edit this files to speed up.
    Second one is google fonts. You can remove this link if you don't need those fonts.
    Third one is WordPress's css. So you can't edit or remove.
     
    Shahidul Islam, Sep 6, 2016 IP
  5. kertoon

    kertoon Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    133
    #5
    Okay. Thanks.
     
    kertoon, Sep 6, 2016 IP
  6. kertoon

    kertoon Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    133
    #6
    The first one is actually a plugin call Autoptimize.
     
    kertoon, Sep 6, 2016 IP
  7. Shahidul Islam

    Shahidul Islam Active Member

    Messages:
    42
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    68
    #7
    Yes. But editable
     
    Shahidul Islam, Sep 6, 2016 IP
  8. kertoon

    kertoon Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    133
    #8
    I need to change/remove some CSS call links. I can see them in View Page Source. How do I actually get to them to make the changes? In other words, where are they?
     
    kertoon, Sep 7, 2016 IP
  9. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #9
    They will be in different places based on where they're coming from. And, as you've already been told, if you change something manually, those changes will be nulled when that plugin or theme is updated.

    You're using WordPress. Unless you want to do these changes every time you update, do as I suggested earlier, find a plugin to combine, minify and optimise css and js.
     
    PoPSiCLe, Sep 8, 2016 IP
  10. kertoon

    kertoon Well-Known Member

    Messages:
    181
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    133
    #10
    Get you. Thank you so much for your advice.
     
    kertoon, Sep 9, 2016 IP