WordPress.org

Ready to get started?Download WordPress

Forums

When Using Firebug to identify line coding, why does it not always get it right? (15 posts)

  1. presh22
    Member
    Posted 1 year ago #

    e.g.
    I am trying to change the color and font of the title and tag line of my website and know I can do this in my wordpress settings, but am trying to identify it using firebug. When I use firebug it shows me line coding of 61. Then I go to dreamweaver to quickly find the code and there is nothing corresponding to line 61. What is up with this? What am I doing wrong? It has happened in several parts of the website. Some coding is easily identifiable and some is not.

    autofindvb.com

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Are you looking in the right .css file?

  3. presh22
    Member
    Posted 1 year ago #

    I copied and pasted all of the parent theme style.css... Does this mean I am looking in the right place? I edit what I need and upload into my editor of child theme

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    I copied and pasted all of the parent theme style.css

    Pasted it where?

  5. presh22
    Member
    Posted 1 year ago #

    Pasted into dreamweaver. Edit what I need and paste into Child Theme. You're making me think I need ftp for this?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    No - you do not copy the entire parent's CSS into the child theme. You only add your changed CSS to the child theme's stylesheet.

  7. presh22
    Member
    Posted 1 year ago #

    Right, and that's what I do. I edit the small portion of coding I need and paste that small portion into child. My question though is when I use Child theme to identify coding. It will show line coding. Out of the 3,000 plus lines of coding for twenty eleven, how do I promptly identify where the code is in my parent theme? I notice Firebug states one thing and when I go check for it I am not finding it. For example my title, fire bug shows line 61. When I enter dreamweaver I look at line 61 and nothing is there related to the code I need changed.
    I notice in the text editor the lines aren't numbered. Likewise, in notepad no numbers, so I chose dreamweaver assuming this would help make it fast and easy to located, edit and update.

    Is this more clear?

  8. presh22
    Member
    Posted 1 year ago #

    In the above post I did not mean when I use child theme. I meant when I am merely exploring my website using firebug.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Try using an enhanced text editor like TextPad or NotePad++.

  10. presh22
    Member
    Posted 1 year ago #

    I will try the notepad++, heard good things. Thank you esmi.

  11. presh22
    Member
    Posted 1 year ago #

    Notepad++ didn't help

  12. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    For example my title, fire bug shows line 61

    does Firebug also state which file this line number refers to?
    does it say: line 61 in style.css ?

    if you are using Dreamweaver as your editor, it has the 'find next' or 'find and replace' under 'edit' which allows you to search for whatever within the file you are editing.
    this means, once you have identified the css selector of the element you want to format, you can find it in the style.css file.

    I personally don't work with Firebug, but the Firefox web developer add-on (similar) which has the 'CSS' tab with 'view style information' which does point to the line number and the corresponding stylesheet.

    besides, the whole issue has nothing to do with WordPress, this is just a fundamental 'getting to work with editing tools' learning curve.

  13. presh22
    Member
    Posted 1 year ago #

    Thanks for trying to help alchymyth.

    Fire bug does state the line. Its weird because many things which firebug identifies shows precisely in the line code it specifies. But this one is no where to be found,

  14. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I already answered this question of yours in your other thread (which you should not even have two threads on the same question). To repeat, it's NOT in an external stylesheet -- it's in the head of the page -- the line refers to the html page line. When you look in Firebug -- it tells you where that code is from -- to the right in blue. Click on it and it will show you exactly where that code is.

    If you stick to one thread, someone may actually understand better what the difficulty is.

    http://wordpress.org/support/topic/where-can-i-find-the-code-to-the-title-of-my-site?replies=5

  15. presh22
    Member
    Posted 1 year ago #

    I am new... I don't wish to exploit this community with my questions, but someone did respond here. Thank you for all of your input, but it did not answer it for me. I take accountability for lack of understanding. I thought these boards would be more helpful, but I guess I should render my options back to random google searches, which typically lead me back to one of my posts here on word press forums. Consider this one "resolved" all though it isn't, because I don't wish to annoy you further.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.