• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Customizing the look of Author box in WordPress with CSS

By Abhishek Ghosh April 25, 2011 8:21 pm Updated on October 17, 2014

Customizing the look of Author box in WordPress with CSS

Advertisement

Some readers has asked the solution how to customize the appearance of author box in WordPress. One of them has tried the method we wrote to customize blockquote in WordPress.

Basically, the principle is same: adding or modifying the existing CSS code in the style.css file of your current theme.Customizing the look of Author box in WordPress The reason why one person failed to customize it is, in his theme, the author box design was not defined in CSS style sheet. So, he added the CSS with name Author box.

The main problem in his case was, there was a separate php file (visible in theme editor) which was named author-info.php. So, his customization was not applied. So, take care of this thing. Re-naming it as author-info instead of Author box in the stylesheet solved the problem.

Advertisement

---

So, your first work is to find out where is the code that is defining your author box in style.css file of your current theme. Searching with author (after copy pasting the code in Notepad) should normally find it. If you do not find it, examine your theme for the corresponding name of the php file. You must name accordingly.

To get something like my Author box, you have to add (or modify) the code to like this :

 

<span style="color: #ff0000;">.author-box</span> {background-color:#e3e3e3;<span style="color: #00ff00;">background-image</span>:url(images/blockquote.png);background-repeat:no-repeat;background-position:top right;font-family:Georgia;font-size:14px;font-weight:400;color:#000;text-shadow:#fff 0 1px 1px;overflow:hidden;border-color:#eee;border-style:solid;border-width:5px;margin:0 0 30px;padding:10px 60px 10px 10px;}<span style="color: #3366ff;">.author-box img</span> {background:#FFF;float:left;border:1px solid #EAEDEF;margin:0 10px 0 0;padding:4px;}

 

Explanation

 

Firstly read this post to understand the meaning of the above codes.

.author-box defines how the box will look.

.author-box img defines the look of the Gravatar inside your author box. If you do not want customize Gravatar, just omit the code.

background-image defines the position of our logo (the Lotus), if you do not want to show, omit this line.

 

Examples

 

Author box plain with 1px border:

 

Lorem Ipsum is simply dummy text of the printing and typesetting industry

 

Border color has been made black (#000000), 1 px wide. Others has been deleted.

 

Author box without any border:

 

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

 

Border has been deleted.

 

Author box without any border and rounded corners:

 

Mauris eleifend felis et turpis tempor porttitor. Aliquam ullamcorper tellus id metus aliquam laoreet.

 

Border has been made of same color that of background, it has been rounded using CSS. Follow this tutorial to create borders rounded. If we make the border of different color, you will understand it:

 

Curabitur vel ante augue, sed gravida mauris. Duis pellentesque blandit neque sit amet luctus.

 

About the border of author image

 

If you do not want any border, simply set it to none. If you want to make one side (usually the lower) thick, mention border as 2px 2px 7px 2px (this is just an example).

 

Dotted border

 

Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;

 

Just, we have used border: 1px dotted #000;

 

Signature

This Article Has Been Shared 439 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Customizing the look of Author box in WordPress with CSS

  • Get your Twitter’s tweet as RSS feed and JSON’s url plus widget codes

    You can fetch your Twitter account’s tweets as RSS feed or the get the JSON’s url with this nice and easy trick.

  • Create mouse hover effect for button using CSS sprite

    You must have noticed buttons in various websites that change its appearance on mouse hover. Here is tutorial on how to create very easily.

  • Customize blockquote using CSS and graphics in WordPress

    Blockquote should reflect the personality of the blog site writer. It looks nice when it is customized to reflect the brand of your blog or simply to add an effect of quotation mark.

  • How to use specific color for author’s comments in WordPress

    Using this trick, when the author of post reply in comments, his / her comment box will have different color or background in Wordpress.

  • Sticky Note with shadow effect in WordPress using CSS

    Sticky note with shadow can be created and used anywhere in Wordpress just by using CSS and a small graphical element.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Why Not to Use Your Host for Email Marketing March 5, 2021
  • What You Need to Know About the Microservices March 4, 2021
  • Fix Missing/Bad FileProvider for Freshchat (Android error code 354) March 3, 2021
  • Basics of Data Protection on the Internet March 2, 2021
  • What is Standard Software February 28, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Customizing the look of Author box in WordPress with CSS," in The Customize Windows, April 25, 2011, March 5, 2021, https://thecustomizewindows.com/2011/04/customizing-the-look-of-author-box-in-wordpress-with-css/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy