Hi,
the Unified Sidebar Image Display works well - but shows the images alignet "left". The html source code of that page shows that there is a div class "SerendipitySideBarContent" set to "left". Where can I adjust this to another alignment?
thx
Eva
picture alignment / Sidebar Image Display
-
ewehdemeyer
- Regular
- Posts: 62
- Joined: Fri Jan 19, 2007 6:59 pm
- Location: Hamburg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: picture alignment / Sidebar Image Display
Hi!
Each sidebar plugin has its unique CSS container class, so that you can use CSS to align content of any specific container to the left.
If you give us the URL to your blog we can tell you what you need to enter into your style.css template file exactly.
Best regards,
Garvin
Each sidebar plugin has its unique CSS container class, so that you can use CSS to align content of any specific container to the left.
If you give us the URL to your blog we can tell you what you need to enter into your style.css template file exactly.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
maybe somebody could tell me why my image in the sidebar has a border at the top?
http://brisbane07.de
I searched a long time, but I can't find the point where I have to change it.
Thanks
http://brisbane07.de
I searched a long time, but I can't find the point where I have to change it.
Thanks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
If you mean "padding" instead of "border", this is because of this HTML code output in your sidebar:
I believe it's part of the plugin output, so the only option you'd have would be to set a negative padding for the parent element in the style.css file:
HTH,
Garvin
If you mean "padding" instead of "border", this is because of this HTML code output in your sidebar:
Code: Select all
<div style="padding-top: 5px;">
Code: Select all
.container_serendipity_plugin_imagesidebar .serendipitySideBarContent {
padding-top: -5px;
}
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
ewehdemeyer
- Regular
- Posts: 62
- Joined: Fri Jan 19, 2007 6:59 pm
- Location: Hamburg
Hi Garvin,
I've already inspected that css-file and tried altering that
serendipitySideBarContent img {
border:none;
align:bottom;
align:center;} <<<--- ( inserted )
- with no effect. Maybe wrong approach. Beside that I won't everything on the Sidebar to be aligned center or whatever that may be, but only the images in the Sidebar Image Display. hm.
http://www.wehdemeyer.de/e_blog/
thx
Eva
I've already inspected that css-file and tried altering that
serendipitySideBarContent img {
border:none;
align:bottom;
align:center;} <<<--- ( inserted )
- with no effect. Maybe wrong approach. Beside that I won't everything on the Sidebar to be aligned center or whatever that may be, but only the images in the Sidebar Image Display. hm.
http://www.wehdemeyer.de/e_blog/
thx
Eva
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi Eva!
Füg mal am Ende folgendes ein:
Viele Grüße,
Garvin
Füg mal am Ende folgendes ein:
Code: Select all
.container_serendipity_plugin_imagesidebar img {
margin: 0px auto 0px auto;
display: block;
}
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
ewehdemeyer
- Regular
- Posts: 62
- Joined: Fri Jan 19, 2007 6:59 pm
- Location: Hamburg
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Did you reload your browsers cache?
For me it works both using IE7 and Firefox 1.5...
Regards,
Garvin
Did you reload your browsers cache?
For me it works both using IE7 and Firefox 1.5...
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
ewehdemeyer
- Regular
- Posts: 62
- Joined: Fri Jan 19, 2007 6:59 pm
- Location: Hamburg