Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Problem with uploading stylesheets

Discussion in 'General Discussion' started by Peter J, Feb 24, 2018.

  1. Peter J

    Peter J Registered

    Joined:
    Feb 24, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Chesterfield, UK
    cPanel Access Level:
    Website Owner
    Hi
    Not sure if anyone can help, but I'm trying to upload my simple website via cPanel and I have problems...
    Inside my computer, the pages of my site all show up in nice fonts with the right coloured backgrounds, exactly as I want them.
    When I upload these exact files (which have a Chrome logo) they appear as simple html on the Internet.

    As part of my attempt to investigate this, I downloaded a 'Simple Style' template onto my computer. When I opened it, that too was just showing up in html.

    Any ideas what I'm doing wrong?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,870
    Likes Received:
    1,811
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    This type of question is typically better asked on a forum dedicated to website design questions. However, to quickly rule out any common issues, check the following:

    1. Your website files were uploaded to the public_html directory (or whatever you have configured as the document root).
    2. The website files include valid extensions in the filename (e.g. 123.html).
    3. The HTML code utilizes the correct paths to the images or style sheets (e.g. /home/$username/public_html/123.jpg instead of "/local/computer/123.jpg).

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice