Stylize Blogger Read More Option Link With CSS

This post will be segmented into different steps.
- How To Select Content That Will Display On Your Blogger Blog Homepage
After that you will see a threaded line that will display at the end of the content you want to display for the post on the text editor form, when someone visit your blog homepage and see the recent posts on your blog, a read more link will be display under the post which enable the visitor to to click on the link and see the full article.
- Find The Read More Code From Blogger Edit Html
Go to blogger log in --> go to template or design(for old blogger interface) --> edit html --> expand widget
look for this line of code
- <data:post.jumpText/>
- <a expr:href='data:post.url + "#more"' expr:title='data:post.title'><data:post.jumpText/></a>
- Start Stylizing the read more link
After finding the line of code, if you will like to add CSS script to the code you will need to add a html "<span>" tag to add the "style" attribute to it to look something of this nature.
Example
<a expr:href='data:post.url + "#more"'
expr:title='data:post.title'><span style="add values"><data:post.jumpText/></span></a>
Desirable options
- If you will like to add some background color to the read more link here is what you do
background-color:your desirable color ;
e.g <span style="background-color:black ;">
- If you will like to add border to it here is what you do
border:1px solid brown;
1px = border (size you can increase if you want)
solid = style (you can as well use dotted or dashed )
brown = border color (you can choose any color to fit your template design using alphabe or hexadecimal codes eg #000000 for black)
e.g <span style="border:1px solid brown;">
- If you will like to align the the read more link to the right here is what you do
text-align:right;
eg <span style="float:right;">
After the whole coding your script will now look something like this bellow
<a expr:href='data:post.url + "#more"' expr:title='data:post.title'><span style="background-color:black ; border:1px solid brown; float:right;" ><data:post.jumpText/></span></a>
Please first of all use the preview button on the Edit Html iframe to preview, if it works then save by clicking on the "Save Template"
Thanks for reading kindly use the bellow comment form to tell us about this post we will love to hear from you and share with your friends as well.
If I used auto readmore code from http://omonkablog.blogspot.com/2013/01/add-auto-readmore-and-remove-initial.html, how can I align my "readmore" link to the right position?
ReplyDeleteI used span style="text-align:right;" cover data:post.jumpText/ but it doesn't work.
please our dear reader use the float attribute for css
Deletethat is replace the
text-align:right; witth float:right;
thanks for that correction it will be change soon