Skip to content
Hey, I'm
KRIS THAPA
  • Home
  • Why Me?
  • About Me
  • Contact Me
  • Services

Category: Web Development

Overlay a layer

October 13, 2019 admin Leave a comment

.et_pb_pricing_heading:before {     content: ”;     position: absolute;     top: 0;     left: 0;    …

Continue Reading →

Posted in: HTML/CSS, Joomla, Web Development, Wordpress

How to add a color overlay to a background image?

September 4, 2018 admin Leave a comment

#Header_wrapper { background-image: url(https://yourwebiste.com/image.jpg); position: relative; } #Header_wrapper:before { content: “”; position: absolute; left: 0; right: 0; top: 0; bottom:…

Continue Reading →

Posted in: HTML/CSS, Joomla, Web Development, Wordpress

Contact Form 7 drop down required field customize

December 20, 2015 admin Leave a comment

function custom_wpcf7_form_elements($html) { function cf7_replace_include_blank($name, $text, &$html) { $matches = false; preg_match(‘/<select name=”‘ . $name . ‘”[^>]*>(.*)<\/select>/iU’, $html, $matches); if…

Continue Reading →

Posted in: Web Development, Wordpress

Contact form 7 date picker fix

December 10, 2015 admin Leave a comment

Contact Form 7 Date Picker problem Add the below code to the theme function.php file: add_filter( ‘wpcf7_support_html5_fallback’, ‘__return_true’ );

Continue Reading →

Posted in: HTML/CSS, Web Development, Wordpress

Ask facebook to re-scrape old page title

January 4, 2015 admin Leave a comment

Continue Reading →

Posted in: HTML/CSS, Web Development, Wordpress

Vertically align an image inside div

December 20, 2013 admin Leave a comment

#divid {position:relative} #divid img {position:absolute; top:0; bottom:0; margin:auto; height:122px}

Continue Reading →

Posted in: HTML/CSS, Web Development

Mobile-friendly responsive design with an embedded iframe video

December 3, 2013 admin Leave a comment

<div class=”embed-content”><iframe id=”player” src=”http://www.youtube.com/embed/……” height=”240″ width=”320″ allowfullscreen=”” frameborder=”0″></iframe></div> .embed-content { position: relative; padding-bottom: 56.25%; /* 16/9 ratio */ padding-top: 30px;…

Continue Reading →

Posted in: HTML/CSS, Web Development

Advanced CSS attributes

May 29, 2013 admin Leave a comment

div[id^=”attachment_”] {display:none !important;} http://coding.smashingmagazine.com/2009/08/17/taming-advanced-css-selectors/

Continue Reading →

Posted in: HTML/CSS, Joomla, PHP Nuke, Web Development, Wordpress, Zen-cart

How to automatically use resized images instead of originals

April 20, 2013 admin Leave a comment

Simply paste the following code on your functions.php file and save it. No other action is needed! function replace_uploaded_image($image_data) {…

Continue Reading →

Posted in: Web Development, Wordpress

Preserve post/page formatting with limited character

November 27, 2012 admin Leave a comment

$my_id = 162; $post_id = get_post($my_id); $content = $post_id->post_content; $content = apply_filters(‘the_content’, $content); $content = str_replace(‘]]>’, ‘]]>’, $content); //all content…

Continue Reading →

Posted in: Web Development, Wordpress

Post navigation

Page 1 of 2
1 2 Next →

Recent Posts

  • Overlay a layer
  • How to add a color overlay to a background image?
  • Fancy Checkmark Icons

Recent Comments

  • Joy Gordon on How to hide PHP errors on your Joomla site?
  • Elmer Skafidas on How to hide PHP errors on your Joomla site?
  • Anissa Kjellsen on How to hide PHP errors on your Joomla site?
Copyright © 2026 Hey, I'm