adding the_custom_logo(); to header

The biggest issue you’re running into is putting the_custom_logo() inside of an <img> tag. The function already outputs a full image tag, plus a link to the homepage wrapped around it. So, replace this <a class=”navbar-brand” href=”#” > <img src=”<?php the_custom_logo(); ?>” height=”42″ width=”42″> </a> with this <?php the_custom_logo(); ?> to get rid of the … Read more

Change text color dynamically in WordPress [closed]

If you inspect the text, you’ll see that your theme’s CSS is overriding your custom CSS. You have h2 { color: white; } but your theme has .widget h2 { color: inherit; } so “inherit” wins out. If you change your own CSS to .widget h2 { color: white; } it will override the theme. … Read more

Where can I find the inline-css of my theme header?

That part of the page layout is most often inside of the header.php file in your theme root folder. But before you edit that file directly, a few advices: Do you use a child theme? If not, or you are not sure, than it is not advised to edit that file directly, because when the … Read more

Get ACF options field in PHP acting as CSS

I’m not sure what exactly your setup is or where this file is but ACF saves its values as post meta. So you could simply use WP’s get_post_meta() if ACF isn’t available. For Example: get_post_meta( get_the_ID(), ‘field_name’, true ); You can also have a look at this article, it talks about using get_post_meta vs ACF … Read more

How to change the settings of a video? [closed]

My coding skills are very minimal, and I can’t seem to find & edit the HTML. This is because video embeds are usually implemented using a shortcode, there is no HTML to edit, it’s generated on the fly Starting playing automatically WITHOUT the user having to click any sort of play button. yes and no… … Read more