How can I edit its style in the sidebar widget ?
-
Hi,
I want to customize the plugin to show the last 6 events into my website right side, like what appears in this image:
So, I’ve tried to use the plugin in the sidebar as a widget as the following:
https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-ash3/t1/q71/150832_422351124562672_216670968_n.jpg
And I’ve wrote this code in the “List Item Format” input:
<style> /* ============ css reset ============= */ html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal}ol,ul{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:text-top}sub{vertical-align:text-bottom}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;*font-size:100%}legend{color:#000}#yui3-css-stamp.cssreset{display:none} /* ============ /css reset ============= */ .missedevents-container { width: auto; height: auto; margin-bottom: 5px; } .missedevents-image-div { width: 100%; height: 200px; display: inline; } .missedevents-image-div a { width: 33.3333333333%; height: 50%; display: inline-block; overflow: hidden; float: left; } .missedevents-image-div a img { display:block; width: 100%; opacity:1; } .missedevents-image-div a img:hover { opacity: 0.8; } </style> <div class="missedevents-container"> <div class="missedevents-image-div"> <a href="#_EVENTURL"> <img src="#_EVENTIMAGEURL" title="#_EVENTNAME" alt="#_EVENTNAME" /> </a> </div> </div>
But the result appears as the following:
https://scontent-a.xx.fbcdn.net/hphotos-ash3/t1/q71/1654299_422348774562907_1333767441_n.jpg
So, I wonder how can I make all images in the same size, and to be arranged as well ?
Thanks in advance.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How can I edit its style in the sidebar widget ?’ is closed to new replies.