5 Replies - 7099 Views - Last Post: 08 November 2010 - 10:29 AM

#1 thavrilka  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 3
  • Joined: 08-November 10

Inspect Element HTML edit

Posted 08 November 2010 - 08:57 AM

When using the inspect element function in chrome/firefox on my website, I can make temporary edits to the HTML code to see in the browser to see how the changes affect the appearance. If I wanted to make the changes permanent, how would I determine which file to edit? I am brand new to this and basically trying to edit a theme for a CMS. I can't find any info on this subject anywhere.

Regards.
Is This A Good Question/Topic? 0
  • +

Replies To: Inspect Element HTML edit

#2 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3550
  • View blog
  • Posts: 10,319
  • Joined: 08-June 10

Re: Inspect Element HTML edit

Posted 08 November 2010 - 09:03 AM

if the file is from a server (and not your server) you can’t do anything at all. the most you can do is make a userscript, that applies the change each time you load the page.
Was This Post Helpful? -1
  • +
  • -

#3 thavrilka  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 3
  • Joined: 08-November 10

Re: Inspect Element HTML edit

Posted 08 November 2010 - 09:05 AM

The files are on my server, so I do have access to edit them, I just don't know which file contains the particular element that I'm inspecting.
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3550
  • View blog
  • Posts: 10,319
  • Joined: 08-June 10

Re: Inspect Element HTML edit

Posted 08 November 2010 - 09:14 AM

the one mentioned in the browser’s address bar (unless there’s URL rewriting active)
Was This Post Helpful? 0
  • +
  • -

#5 thavrilka  Icon User is offline

  • New D.I.C Head

Reputation: -1
  • View blog
  • Posts: 3
  • Joined: 08-November 10

Re: Inspect Element HTML edit

Posted 08 November 2010 - 09:52 AM

there is rewriting, index.php is shown as main.php
perhaps it would be more clear if you see for yourself

at http://www.toxichotspot.com/gallery2 there is sample biography data in the theme that I want to change but I don't know what file that code is located in.
Was This Post Helpful? -1
  • +
  • -

#6 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3550
  • View blog
  • Posts: 10,319
  • Joined: 08-June 10

Re: Inspect Element HTML edit

Posted 08 November 2010 - 10:29 AM

you would have to resolve that yourself by checking the rewrite rules in .htaccess (or whereever the rewrite rules are listed) (that’s why people do URL rewriting …)
Was This Post Helpful? 1
  • +
  • -

Page 1 of 1