Track down how to CSS format a single heading

[ad_1]

I want to put some formatting – some shadow – on one instance of a h2 heading on a WordPress Theme that I’m using, but I just can’t track down what file to do it in. The heading is generated from a text field in the Theme backend.

I installed What the File plugin which is supposed to tell you this, but it just tells you the name of the file that runs a couple of functions that builds the page. I try to follow them, but I’m finding it impossible to get to the source of the formatting.

Any suggestions welcome.

[ad_2]
2 Comments
  1. Right-click the element in Chrome, click inspect, and view what classes, if any, the element has on it, or if no classes but it’s in a specific unique spot in every instance, then target it that way.

    You’d then add your CSS either in a child-theme or in the Additional CSS area in the Customizer

  2. Just add a manual class to the element, and add in some custom css in a separate file or at the bottom of the one the site is currently using with your style syntax.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer