Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I find the css class or id of a particular item in the HTML or find the item in the PHP template?

0
Posted

How do I find the css class or id of a particular item in the HTML or find the item in the PHP template?

0

• Browse to the TalkBack test page http://yoursite.com/talkback/test.php. Enter a comment. Use your browser’s view source command to display the HTML source code. (Firefox: Ctrl+U, Internet Explorer: View menu > Source). Do a find on the source page for text that is part of the HTML element you are seeking or is near it. For example, to find the HTML element for the “Leave a comment” legend, do a find on “leave”. You will find the line:

That will give you the ID or class name if you want to change it’s styles in the CSS. If you want to find that line in the PHP template, search the template for “tb-comment-link” or “#entry”. You cannot search for the word “leave” in the template because it isn’t there. The text is in the language file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123