The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Find files which generate specific pages

Discussion in 'General Discussion' started by Edward Byrne, Nov 15, 2014.

  1. Edward Byrne

    Edward Byrne Member

    Joined:
    Nov 15, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Harare, Zimbabwe, Zimbabwe
    cPanel Access Level:
    Website Owner
    Sorry if this is a dumb question. I want to change some text in a site I inherited but cannot find the files that contain the content/text in cpanel. I am presuming there is one file per page/url but not sure. Any help will be gratefully received.
     
  2. tank

    tank Well-Known Member

    Joined:
    Apr 12, 2011
    Messages:
    236
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Is this a HTML website or CMS website (wordpress, joomla) etc.

    Once that question is answered then we can help more.
     
  3. Edward Byrne

    Edward Byrne Member

    Joined:
    Nov 15, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Harare, Zimbabwe, Zimbabwe
    cPanel Access Level:
    Website Owner
    Styling missing

    I have an html website and am trying to edit some content. I extracted the html/css from the site with "view source" and edited it in Notepad. I saved it as as an .xhtml and uploaded it to my site. I opened it in my browser and the content is all there but without any styling (CSS is in the html). I tried saving it as a .html, same result.

    Am I missing something obvious?

    Thanks
     
  4. Edward Byrne

    Edward Byrne Member

    Joined:
    Nov 15, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Harare, Zimbabwe, Zimbabwe
    cPanel Access Level:
    Website Owner
    It is an html site (third party script)
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,480
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Re: Styling missing

    This isn't a cPanel issue. You might check with the style's author on how to edit it properly.
    That's not how you do it. You'd modify the actual file called (probably) style.css which contains the actual style that what you see in the HTML, is calling.
    HTML files should be saved as .html, CSS files should be saved as .css


    GL!
     
Loading...

Share This Page