How can we achieve this image css style?

CSS Approach: For a purely triangular corner in css, see this blog post Code a Simple Folded Corner Effect With CSS or this Folded Corner example on Codepen You can then add the rotated “Answer” text as an absolutely positioned div with the css transform: rotate property. However, if you absolutely have to the curled … Read more

Unable to properly load WordPress Admin page

Looks like theme problems to me. I’d change it back to one of the ‘Twenty’ themes as a first step. If OK, then start diagnosing the theme. (You could reinstall the theme manually which might protect settings, or FTP the theme files manually. Or just remove the theme and reinstall, but you might have to … Read more

Custom CSS is overwritten by WordPress?

I do assume you have functions.php file in your theme directory after that you can add following code : /*Section for enqueuing styles and scripts*/ function keyword_theme_styles_and_scripts(){ /* Styles Below */ wp_enqueue_style(‘bootstrap-min-css’, ‘https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css’); wp_enqueue_style(‘video-js-min-css’, get_template_directory_uri().’/assets/css/video-js.min.css’); wp_enqueue_style(‘google-fonts’, ‘https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800’); wp_enqueue_style(‘font-awesome-min-css’, get_template_directory_uri().’/assets/font-awesome/css/font-awesome.min.css’); wp_enqueue_style(‘magnific-popup-css’, get_template_directory_uri().’/assets/css/magnific-popup.css’); wp_enqueue_style(‘animate-min-css’, get_template_directory_uri().’/assets/css/animate.min.css’); wp_enqueue_style(‘device-mockups-min-css’, get_template_directory_uri().’/assets/device-mockups/device-mockups.min.css’); wp_enqueue_style(‘main-css’, get_template_directory_uri().’/style.css’); /* Scripts Below */ wp_enqueue_script(‘jquery-min-js’, get_template_directory_uri().’/assets/js/jquery.min.js’, array(), ”, … Read more

custom field – changing an element or background of id div – different versions not working

In most themes anything added via the wp_head hook should appear after (and override) enqueued CSS. So you could add an action to the themes functions.php and use get_queried_object_id() for the post ID. function my_dynamic_css() { $custombg = get_post_meta( get_queried_object_id(), ‘custombg’, true ); if (! empty($custombg)) { ?><style>#Box2 {background: <?php echo $custombg; ?> }</style> <?php … Read more