Showing posts with label BLOGGING TIPS. Show all posts
Showing posts with label BLOGGING TIPS. Show all posts

How to Create Simple CSS Arrows for Tooltips


css-arrows-Tooltips


In this short tutorial, I will show you how to create simple CSS arrows for your tooltips, quotes or message boxes. The process is very simple and we only need to learn how to implement the code. The CSS Arrow Please, lets you generate required CSS code to create a simple tooltip with arrows towards any four direction. So here’s how:
1. Go to CSS Arrow Please site and customize the look and feel of your tooltip along with direction of the arrow.
2. Copy the generated CSS and paste it in your stylesheet.
3. Now since it has only generated the CSS, you need to add markup in your HTML in order to implement it.
The generated CSS creates a class named “.arrow_box” in which you can display your message, quote or tooltip. So you will have to make use of the generated class in your HTML file:
<div class="arrow_box">
This is a tooltip where you can display message or quotes along with the CSS Arrow towards any direction.
</div>
Though you get CSS ready to be implemented, it requires bit of a change to make your message box usable. So I am going to add width, color and padding to the “.arrow_box” class:
.arrow_box {
position: relative;
background: #88b7d5;
border: 4px solid #c2e1f5;
width: 200px;
color: #fff;
padding: 10px;

}
And once done, it should look like this (except arrow direction):
css arrows
Note:
  1. To implement multiple arrow boxes with one or more directions, you will need to change the name of the class from “.arrow_box” to other unique names. Say, “.arrow_left”, “.arrow_right” etc.
  2. You can further customize the text and arrow box with your set of additional CSS properties like font-family and text color etc.


3 Best Tools For Checking Your Website Loading Speed



website-loading-speed




You must have heard about the story of a hare and a tortoise. The moral of that story was that slow and steady always wins the race. Right?

May be but certainly not in the case of your website load speed. Website loading speed is an important factor which contributes in overall performance of your website. 

A slow loading speed not only indicates poor design but is also a huge turn-off for visitors. If your site loads up slow, then you are surely going to leave a very bad experience on your visitors. Slow loading webpages could also be symptoms of bugs or any other bottleneck.


Speeding your Website has become even more crucial these days. Website loading speed has become a very important factor in terms of SEO too after Google officially confirmed that “Page Loading Speed” is a crucial ranking factor in their algorithm.

 The very first step in optimizing your website is to check your website loading speed by putting it through a speed test. In this article, I am going to share 3 best tools for checking your websites loading speed.




GTMetrix is a free tool that combines two popular Firefox add-ons – Yahoo! Yslow and Google Page Speed. GTMetrix is a very popular tool for analyzing and optimizing the performance of your website. Gtmetrix has eye catchy design and easy to navigate interface. 

It applies both Google PageSpeed and Yahoo! YSlow tests to your site, and help you develop a faster and more efficient website experience for your users. 

The feature that I like most about GTMetrix was its ability to compare different sites’ loading speed. Another good feature of GTMetrix is that users can test the loading speed of their website pages from different regions around the world including Canada, India, Brazil and USA. 

GTMetrix also offers a dedicated plug-in for WordPress blogs. This plugin incorporates the major functions of GTMetrix straight into WordPress.

 It allow WordPress users to plan reports, run analyses and send notifications about the status of their website. You just need to install this plugin and configure its settings. All you need is a GTMetrix API which you can easily get by registering for GTMetrix free. 








Pingdom is also free and easy to use tool for testing the load time of all Website objects including HTML, CSS, and Javascript. 

All you need to do is enter the URL of your Website page. I personally use Pingdom and it has a very sleek and eye catchy interface. Pingdoms Full Page Test gives you a detailed visual report on the load time of each element of your website page. 

Pingdom have a set of servers across Europe and United States. 

Pingdom tells about the issues on the webpage and it gives a simple solution to solve them. Pingdom identifies why a webpage is fast, slow, and too big. Pingdom also tells you about the best practices you should implement in order to load your site fast. 

Features of Pingdom include :

-> Pingdom examine all parts of a web page. Users can sort and filter this list in different ways to identify performance bottlenecks 

-> Pingdom provides a performance overview of your Website by putting together plenty of performance-related statistics for you based on the test result.

->It also provides you a performance grade based on Google Page Speed and tips to improve this grade.

-> Pingdom trace your performance history by saving each test for you so you can review it later and also see how things change over time.

-> Pingdom allows you to test your website loading speed from multiple locations across Europe and USA.

-> Pingdom allows you to share the results of a website loading speed test with your friends, work colleagues or web host.


The only feature missing from this tool is that your website loading speed tests can not be compared to other websites if you want to do so.







Google PageSpeed Insights is a free open source web page analysis service which can offer guidance on how to maximize the performance of your pages.

It analyzes the content of a web page, and then generates suggestions to make that page faster. The Google PageSpeed Insights makes your site load faster, reduces bounce rate and increases conversion rate. 

It is part of Google PageSpeed Tools which provides both analysis and optimization services. 

You can use Google PageSpeed Insights for checking how fast your website or blog loads :

-> on a mobile device (using mobile software)

-> on a desktop (laptop or desktop machine using full versions of operating systems)

->what areas to tackle to improve the speed of your website.


You dont need to register for using it. You just need to enter URL of your website. You can enter any URL youd like to check; you do not need to be the owner or administrator. 

Its main features include :

-> It differentiates between mobile load and desktop (laptop or PC) load. Essentially its differentiating between full-on operating systems and their mobile versions.

-> The suggestions are graded as low, medium, and high priority. 

-> It spells out precisely where the problems are and then gives you the details to identify what to address.


You can access this service directly by using this link, or you can install a browser extension for Google Chrome and Firefox. 








Wrapping Up


Website loading speed is not something that should be taken lightly, especially since it has such a big impact on SEO. Optimizing your website for improving its loading time is a must for every webmaster these days. 


These 3 are the best tools for checking your Website loading speed. So which tools are you using for checking your websites loading speed?



How to Fix Blurry Pictures in the home page Blogger


How to Fix Blurry Picture in the home page Blogger? 


how-to-fix-blurry-pictures-blogger



I've noticed all my blogger homepages went blurry all of the sudden, thousands users of blogger platform are faced with the annoying problem. When loading the home page of the blog post, preview images are displayed in the form of blurred, to such an extent that it is difficult to understand about what this picture.


The thing is that Blogger has decided to change the format of the thumbnails in the preview of the posts (messages). That is why there was such an error in some templates. But lucky you are here , solution for this problem can be fixed.


  •   Go to blogger dashboard
  •   Go to the section: Theme
  •   Edit HTML
  •   Find the tag <head> and paste the following code under the tag 



<script type='text/javascript'>
//<![CDATA[
function bp_thumbnail_resize(e,t){var n=281;var r=201;image_tag='<img width="'+n+'" height="'+r+'" src="'+e.replace("/s72-c-k-no/","/w"+n+"-h"+r+"-c/")+'" alt="'+t.replace(/"/g,"")+'" title="'+t.replace(/"/g,"")+'"/>';if(t!="")return image_tag;else return""}
//]]>
</script>

PS: the <head> tag is located in the beginning of the template .



If this code doesn't work with your template it's ok  there is alternative way to Fix Blurry Picture in blogger



Go ahead to the theme section EDIT HTML and look for this : /s72-c/




change it with this:  /s72-c-k-no/


Now Save template and done.


How to Display Recent Post In a Page or Post (Wordpress)



How-to-Display-All-Recent-Post


How to Display All Recent Post In a Page or Post in wordpress?


WordPress is being popular these days and adored by several developers. It's simple for articles updating  too. Do you want to show your current posts in wpExhibiting current posts helps your users locate them easily.

In this tutorial, we'll explain to you the best way to show current articles in WordPress without a plugin the manual process with the post use is recent. So that people are able to cut the external link obtain, it's almost always easier to take action without plug-in.


Displaying Recent Posts in WordPress


First thing you have to do is generate separate template as news.php and upload it in the root folder of theme. In that theme straightforward add next scripts & save the template.


<?php
 $recent_posts = wp_get_recent_posts();
 foreach( $recent_posts as $recent ){
 echo '<li><a href="' . get_permalink($recent["ID"]) . '">' .  $recent["post_title"].'</a> </li> ';
 }
 wp_reset_query();
 ?>

Now, go to the page where you want to display recent post and select the template from the dropdown menu as shown below:

How to display all recent post in a page or post in WordPress

Save the file and preview it in browser, it should display all the latest posts.
To get date of post when using wp_recent_post(), the following code display latest post title as well as date in the same line.

<?php
$recent_posts = wp_get_recent_posts();
foreach( $recent_posts as $recent ){
echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"]. $recent["post_date"].'</a> </li> ';
}
wp_reset_query();
?>


To display the certain number of posts only


$args = array( 'numberposts' => '2' );
$recent_posts = wp_get_recent_posts( $args );



Free Contact Form code For Blogger


are Looking for free contact form code for blogger like this? if so just follow this step by step tutorial.

 

contact form code
 


 Follow the below steps to create a free Contact Form code For Blogger to a separate page. If you would like to see a demo, you can check out my Demo.



1.First go to Lyout



remove-contact-form-gadget-from-sidebar




2.Now find out the unique blogID of your blog. Where can i find blogID? on the URL bar of your browser when you are on any page on your blog’s dashboard. This blogID is required to generate the code for the new Contact Form page. 

The below screenshot explains how you can find out the blogId. Find this number and note it down. This number will be needed to generate code for the contact form.  




Blogger blogID






 3.Now create a new page in your blog 



create new page in blogger



Copy and edit the below the free contact form code snippet . Editing the blogId number is mandatory(Use the number which you noted down in step 2)



<script>

var blogId = '8123020903950952473';//this number should be mandatorily edited.
//The below message 5 Strings can also be edited
var contactFormMessageSendingMsg ='Sending...';
var contactFormMessageSentMsg = 'Your message has been sent.';
var contactFormMessageNotSentMsg = 'Message could not be sent. Please try again later.';
var contactFormEmptyMessageMsg ='Message field cannot be empty.';
var contactFormInvalidEmailMsg = 'A valid email is required.'

var widgetLoaded=false;
function sendEmailMsg() {
if(widgetLoaded== false) {
_WidgetManager._RegisterWidget('_ContactFormView', new _WidgetInfo('ContactForm1', 'sidebar', null, document.getElementById('ContactForm1'), {'contactFormMessageSendingMsg': contactFormMessageSendingMsg , 'contactFormMessageSentMsg': contactFormMessageSentMsg , 'contactFormMessageNotSentMsg': contactFormMessageNotSentMsg , 'contactFormInvalidEmailMsg': contactFormInvalidEmailMsg , 'contactFormEmptyMessageMsg': contactFormEmptyMessageMsg , 'title': 'Contact Form', 'blogId': blogId, 'contactFormNameMsg': 'Name', 'contactFormEmailMsg': 'Email', 'contactFormMessageMsg': 'Message', 'contactFormSendMsg': 'Send', 'submitUrl': 'https://www.blogger.com/contact-form.do'}, 'displayModeFull'));
widgetLoaded=true;
document.getElementById('ContactForm1_contact-form-submit').click();
}
return true;
}
</script>
<form name='contact-form'>
<div>Your Name : </div>
<input class='contact-form-name' id='ContactForm1_contact-form-name' name='name' size='30' type='text' value=''/>
<div>Your Email: <em>(required)</em></div>
<input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' size='30' type='text' value=''/>
<div>Your Message: <em>(required)</em></div>
<textarea class='contact-form-email-message' id='ContactForm1_contact-form-email-message' name='email-message' rows='5'></textarea>
<p></p>
<input class='contact-form-button contact-form-button-submit' id='ContactForm1_contact-form-submit' type='button' value='Send' onclick="sendEmailMsg()"/>
<div style='text-align: center; max-width: 450px; width: 100%'>
<p class='contact-form-error-message' id='ContactForm1_contact-form-error-message'></p>
<p class='contact-form-success-message' id='ContactForm1_contact-form-success-message'></p>
</div>
</form>



While creating the Page, you have to switch to the HTML mode as shown in the image below. Then paste the above contact form code into the post editor(after proper editing), disable the comments and publish your page.





blogger-comment-form-contact-form-code



Once the page is published, go to this new page fill out the contact form, click on the send button and verify that it sends out the email to yours.






I hope that you have enjoyed 'Free Contact Form code For Bogger ' tutorial . Dont forget to share my post. You can use Social Sharing Widget provided at the end of every post. After all, Sharing is Caring!