Community Forums › Forums › Archived Forums › General Discussion › Tutorial: How to Use Your Browser's Inspect Tool
Tagged: css, font color, genesis, header, theme
- This topic has 37 replies, 26 voices, and was last updated 7 years, 8 months ago by
MissKitty.
-
AuthorPosts
-
May 26, 2017 at 5:54 pm #207054
Doug
ParticipantThanks, Victor (sorry for the delay. got hit with the flu.)
That was very helpful and I fixed it. I was going to the code section
.genesis-nav-menu,
.site-description,
.site-header .title-area,
.site-header .widget-area,
.site-title {
text-align: center;... instead of ...
.site-description {
So got that figured out.
Two questions.
1. I've been through the Genesis manual, but haven't seen any references to what CSS points to what section of the page. Do you know a good reference for that? The W3 schools on CSS? In the above example, I didn't understand the difference between ".site-description {" and ".genesis-nav-menu,.site-description,".2. When you reference the code lines, where can I see that? I'm looking in the wordpress editor and in Inspector, but not seeing them either place. I've been looking for an option to turn on, or a box to check to display the code lines, but haven't found anything.
Thank you for your help
dougMay 27, 2017 at 6:38 am #207068Victor Font
ModeratorDoug,
1. The best thing to do is learn how to use your browser's inspect tool and learn CSS through https://www.w3schools.com/css/. The link to the inspection tool tutorial is the first post in this thread.
The difference between ".site-description {" and ".genesis-nav-menu,.site-description," is that any CSS in the first item applies only to that item. The second has two elements ".genesis-nav-menu AND .site-description". The comma separating the two elements should be read as an "AND". The CSS applies to both.
2. Line numbers are shown in the browser inspect tool, as well as the file in which the code may be found. You won't see line numbers in any of the WordPress editors. You should be editing your files in a code editor on your local machine. The file is uploaded and downloaded through FTP.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?May 27, 2017 at 12:00 pm #207070Doug
ParticipantThanks, Victor.
The W3 schools are great, so appreciate you commenting on that.
Regarding the line numbers, I'm not seeing them in Inspector in either the HTML or CSS windows. Here's a screen grab.
https://drive.google.com/file/d/0B4FBN-hZ6_4ud0hpLWtIRUZOcDA/view?usp=sharingIs there a place I need to make those visible in the Inspector?
doug
May 27, 2017 at 4:01 pm #207074Victor Font
ModeratorThe line numbers are in the CSS side. For example, .entry is on line 1260 of style.css.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?May 27, 2017 at 4:57 pm #207075Doug
ParticipantVictor
Per my screen grab, the CSS side is the right-most box with the Styles menu highlighted at top, correct?
If so, can you elaborate on where you're seeing the line numbers? You're seeing them on my screen grab?
thanks
dougMay 28, 2017 at 2:04 pm #207103Victor Font
ModeratorDoug,
Yes, the line numbers are on your screen grab.
style.css?ver=2_0&nocache=1:1260
You have the filename, query string, and line number. The 1260 is the line number.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?May 28, 2017 at 4:54 pm #207107Doug
ParticipantI see what you're referencing. Thanks, Victor!
May 30, 2017 at 3:36 pm #207172bmcminn
MemberCan someone help me use inspector to locate this file in the file tree?
Thanks!
Here's the site...
Learning front-end development, aspire to learn more.
May 30, 2017 at 6:25 pm #207185Victor Font
Moderator@bmcminn, the highlighted code is not a file. It is custom CSS possibly added by a customizer or helper plugin.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?June 15, 2017 at 9:04 am #207793BlogAuto
MemberThx It is brilliant, that simplifies all my approach of bugs, I did not know
June 18, 2017 at 2:26 pm #207906Beverley Allman
MemberThanks for the nice post!
Hope that the link to the tutorial video will be helpful.
EssayServiceWriterJune 21, 2017 at 1:30 pm #208045maria-rodriguez
MemberGran aporte, gracias.
June 28, 2017 at 8:31 pm #208420brisbanepd1
MemberThanks for sharing this Victor! It's a big help. Cheers!
July 4, 2017 at 10:56 am #208668rianjebret
MemberJuly 11, 2017 at 12:51 am #208947Avaneeshkumar
MemberThank you for sharing
July 14, 2017 at 3:30 pm #209121vitarock
MemberPressing f12 on keyboard will give access to web inspect tool, its an easy way to understand and make dynamic design changes i use this technique to our website vitarock.com to fix design issues
July 17, 2017 at 10:13 pm #209245facemask88
MemberJuly 20, 2017 at 1:48 pm #209344MissKitty
MemberThat's great, Victor!
-
AuthorPosts
- The topic ‘Tutorial: How to Use Your Browser's Inspect Tool’ is closed to new replies.