Element Selector Not Working In Stylesheet for Worpress Site

Element Selector Not Working In Stylesheet for Worpress Site

I am trying to style the following code in a Wordpress site but it is not working on:

I am trying to style the following code in a Wordpress site but it is not working on:

.site-info {
text-align: center;
color: black;
 }

.site-info p{ color: red; } <footer class="site-footer"> <div class="wrapper"> <div class="site-info"> <p>&copy; <?php echo absint( date_i18n( 'Y' ) ) . ' ' . esc_attr( get_bloginfo( 'name' ) ); ?></p> </div><!-- .site-info --> </div><!-- .wrapper --> </footer><!-- .site-footer -->


For some reason, the color is not changing as I would have intended it to.

Am I using the selectors incorrectly, or does this have to do with the code between the <p></p>?

css wordpress

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire CSS Developer

Want to develop a website or re-design using CSS Development? We build a website and we implemented CSS successfully if you are planning to **[Hire CSS Developer](https://hourlydeveloper.io/hire-dedicated-css-developer/ "Hire CSS Developer")**...

Hire WordPress Developer

Whether you want to develop a blog or you want a feature-rich, interactive WordPress website? **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")** is a distinguished leader in the WordPress development market. **[Hire...

Hire Dedicated Wordpress Developer

Find the latest jobs available in The Middle East today.

Best WordPress Development Services in India

Skenix Infotech is a top WordPress Website Development Company in India & USA with expert WordPress Developers. Get affordable WordPress Development Services.

Wordpress child theme css does not override parent css

I am using mies-child theme but the problem is that I cannot see the css changes affect my website.