admin管理员组

文章数量:1291050

Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 3 years ago.

Improve this question

I need to change the color to white on the title of a widget that I have in my footer. I looked at the source code and note that it says H4 before and after the text. However, when I change the color of H4 in the global typography, it does not change the color of this widget text. I also found the area for the Widget Header and changed it to white but it also is not changing the text to white on the widget. I see the below when I view source code but when I go into CSS, it will not bring it up when I search. Here is what the code currently says:

<section id="media_image-3" class="fusion-footer-widget-column widget widget_media_image"><h4 class="widget-title">Members of:</h4>
Closed. This question is off-topic. It is not currently accepting answers.

Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.

Closed 3 years ago.

Improve this question

I need to change the color to white on the title of a widget that I have in my footer. I looked at the source code and note that it says H4 before and after the text. However, when I change the color of H4 in the global typography, it does not change the color of this widget text. I also found the area for the Widget Header and changed it to white but it also is not changing the text to white on the widget. I see the below when I view source code but when I go into CSS, it will not bring it up when I search. Here is what the code currently says:

<section id="media_image-3" class="fusion-footer-widget-column widget widget_media_image"><h4 class="widget-title">Members of:</h4>
Share Improve this question edited Jun 17, 2021 at 1:13 Pat J 12.4k2 gold badges28 silver badges36 bronze badges asked Jun 16, 2021 at 23:28 Julie BBJulie BB 1 2
  • Your code is cut off, so you'll need to update that in order to get a quality answer. – Pixelsmith Commented Jun 17, 2021 at 0:22
  • Helo Julie BB - Welcome to the WordPress Development community! Unfortunately, while this question may occur in the context of a WordPress site, it's not actually a question related to the WordPress software, and as such may be considered off-topic for our Stack. Webmasters or Stack Overflow might be more appropriate. All that said, I think this guide provides a pretty good start on how to locate the CSS rules which are effecting an element. – bosco Commented Jun 17, 2021 at 2:09
Add a comment  | 

1 Answer 1

Reset to default 1

Without seeing the code it's a difficult problem to solve, but it sounds like something else is overwriting your code.

You may need to be more specific about the H4 you're targeting footer h4 for instance.

You may also need to add !important to your CSS declaration in order to get it to work. See more about !important here.

本文标签: htmlWidget Text Needs to be White