Solved

Locate CSS  coding at specified point on webpage quickly

Posted on 2014-07-20
14
243 Views
Last Modified: 2014-07-20
Dear Experts,

When I answer CSS question on EE, I  will first look into author's webpage and look
into the issue view point location such as submenu under menu  that is similar to
the issue at this EE thread link
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_28479835.html

When I answer the question, I will go to firefox developer tool and use "Inspect element"
to find out the exact  issue location, and I could not find out the exact CSS file or CSS location. So, I need to view page source to find out or guess where the issue CSS location is
that is really slow to answer the question.

My question is that How can I find the exact CSS issue location code quickly  on
Firefox or Chrome browser developer tools ?

Why I will use using "Inspect element" on FF developer tool can Not locate the exact
CSS code on such issue tag when mouse hover on the issue spot on the webpage
Or there is other way to find out CSS issue code on such tag quickly ?

What tools besides experts experience can answer the question as fast as it  did
in the previous link.

Please advise
Duncan
0
Comment
Question by:duncanb7
  • 8
  • 6
14 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40207498
When using Firebug, select the element, click the Style tab dropdown arrow and click hove/active/focus and that will show the css for the various states
Don't think you can do that with the native Element Inspector in FF
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207511
Change the z-index on the .yith_magnifier_zoom_wrap {...} class to 1

/assets/css/yith_magnifier.css

The answer from your thread, I could Not find the location . Where is it  at which tag ?
I could Not see the CSS code even I tried mourse right-click to the code page under the
webpage

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207515
That's because the image doesn't really exist where it is, right click the image when you get the zoom happening and inspect element and then move up the node tree to get the container.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 13

Author Comment

by:duncanb7
ID: 40207518
I mouse right-click to :hover on the each tag code on issue html code  as follows, but could not find out  the issue CSS code. Why ?
Please advise
Duncan

<section class="row row-3">

<section class="column column-1 grid-left-0 grid-width-24">
<nav id="block-b5753b9edabd8c29" class="Mainmenu block block-type-navigation block-fluid-height" data-alias="Main Menu"itemscope="" itemtype="http://schema.org/SiteNavigationElement">
<div class="block-content">
<div class="nav-horizontal nav-align-center"><ul id="menu-menu-1" class="menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-177"><a href="http://www.shopsmook.com/whats-new/">What&#8217;s New</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children current_page_parent menu-item-186"><a href="http://www.shopsmook.com/shop/">CLOTHES</a>
<ul class="sub-menu">
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-179"><a href="http://www.shopsmook.com/man/">MAN</a></li>
	<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-178"><a href="http://www.shopsmook.com/woman/">WOMAN</a></li>
</ul>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-182"><a href="http://www.shopsmook.com/shoes/">SHOES</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-181"><a href="http://www.shopsmook.com/accesories/">Accesories</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-180"><a href="http://www.shopsmook.com/vintage/">Vintage</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-184"><a href="http://www.shopsmook.com/sale/">SALE</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-183"><a href="http://www.shopsmook.com/lookbooks/">LOOKBOOKS</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-185"><a href="http://www.shopsmook.com/blog/">BLOG</a></li>
</ul></div><!-- .nav-horizontal nav-align-center -->
</div><!-- .block-content -->

</nav><!-- #block-b5753b9edabd8c29 -->

</section><!-- .column -->

</section><!-- .row -->

Open in new window

0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207522
If you can provide small your search practice instruction to search  CSS issue location on FF developer tools that will be really good

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207523
It's not an :hover issue, the image zoom container is higher in the z-index.
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207525
Any external FF site or tools  on internet for developer about my issue, please advise

Duncan
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207529
And that is why I seldom or rarly answer CSS question in EE

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207530
There's no special secret to it, just inspect the element and work back or forth til you find the relevant element css that needs to be fixed.
There is no one way fits all since every website is different, it's a case of practise makes perfect when you just know what is wrong
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207532
Do you have any good FF developer tools manual or site information ?

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207537
0
 
LVL 13

Author Comment

by:duncanb7
ID: 40207540
Last post, Firebug is better than FF developer tools , Right ?

Duncan
0
 
LVL 58

Expert Comment

by:Gary
ID: 40207541
I think so, easier to do things in Firebug
0
 
LVL 13

Author Closing Comment

by:duncanb7
ID: 40207543
Thanks for your reply, I'll work around for firebug

Duncan
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question