How do I find (index) file in order to change style on CSS?

I am using the basic twenty sixteen theme and I am trying to edit some of the features. For instance I want to edit the sidebar on the right.

However, when I open the inspector, it says that the border color is on (index):198.

Where do I find that?

Topic theme-twenty-sixteen css Wordpress

Category Web


The CSS code you refer to is dynamically generated by the theme. The color is set in the customizer under 'Colors' -> 'Primary text color' (Or something similar). The only thin is, this setting changes the color for quite many thigs on the whole site, which is probably not what you want.

If you only want to change the color of the borders in the sidebar, you can add some more specific CSS via a plugin or a in a child theme:

#secondary .widget {
    border-color: #123456;
}

This will then override the generated CSS as it uses a more specific selector.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.