8.12.11

Sidebar Image Caption

Some of us may have problem where when u upload image with caption at your side bar, the alignment of the caption will not be in center..Actually, it depends on ur blog template setting..




My blog template setting is like in the pic where the alignment for all sidebar text (label, link and blog list) has been set to left..so when i add picture with caption the caption will be in align left too..it looks messy to me..when i tried to modify the coding, all text being in align center..hoh!! ~stress~

I want only the caption to be in align center..so i made a lil research on this and got the solution..hahh, what a release !!! So i'm thinking of sharing it with you guys..good things should be shared among friends,  isn't it? So this is how i do it..happy learning..


Click picture to enlarge


You are free to copy this code darling..

<div class="separator" style="clear: both; text-align: center;">Your Caption</div>


Copy n paste this code inside the caption..

See picture below
|
|
|
|
|
|
|
|
|
V



Save......


And .......

|
|
|
|
|
|
|
|
|
|
|
V


Tadaaa!!




Done...happy now?
I hope this might help u..




Happy blogging..
~Peace~






1 Mind Spoke Hand Wrote:

OtherMix said...

Thank you! :]

Related Posts Plugin for WordPress, Blogger...