HTML not resizing

I’m sorry I don’t have enough recommendation to comment your question and ask for more information. To answer your question as I understand it : This is CSS related. If you only used the HTML part of your “3rd party site”, it is normal you don’t have any CSS style applied (unless it is inline … Read more

Penscratch 2 – changing color of the main block

You can put pinkBackground in additional CSS Class, then you will have to add the following code into your Additional CSS, Dashboard > Appearance > Customize > Additional CSS. .pinkBackground { background-color: pink; } Keep in mind you should use the hex code in order to be able to set a specific color, so in … Read more

Performance hit of Inline CSS

Theme customization pages usually dump those css customizations into a <style></style> block directly in the page head, which counts as inline styles. Some plugins will drop styles there too. Anytime you use third-party plugins, or themes, it’s inevitable that you will run into some inline issues. There’s a balancing act of cost – is the … Read more

WordPress default theme CSS version problem and not loading

you can pass time() function in version parameter. so you dont have to change version to update a css code. function add_dynamic_version_css_scripts() { wp_enqueue_style( ‘dynamic-style’, get_template_directory_uri() . ‘/css/custom-style.css’,’style-css’, time() ); } add_action( ‘wp_enqueue_scripts’, ‘add_dynamic_version_css_scripts’ ); let me know if this works for you.

adding additional class to get the post thumbnail [duplicate]

Sorry for late reply, already fixed, i miss understood about array, so here the code that completely run as i want it. <?php $next_post = get_next_post(); next_post_link(‘%link’, get_the_post_thumbnail($next_post->ID, ‘prev_next_img’, array( ‘class’ => ’rounded-lg object-fill w-full max-h-full’ )) . ‘<h4 class=”text-center mt-2 lg:text-base text-sm no-underline text-black leading-snug font-medium”>%title</h4>’, false); ?> in function.php i put custome image … Read more

Hide BBPress create topic on one page

This took as surprisingly long time but I managed to figure it out: fieldset.bbp-form { display: none; } .page-id-170 * fieldset.bbp-form { display: block !important; } I know this hides all and only shows on page id 170, and this is the opposite of what I asked but it suits my needs. An answer more … Read more