The current CVS version of the service_links module uses the class "service-links" as seen below.
When using FriendsElectric as a theme, the output looks a little funny, with the links on a different line to the Bookmark/Search this post:.
So my questions;
- Is the output on two lines what you expected? and;
- Where are the following classes defined service-links and service-label?
I have also IMHO cleaned up the code a little to suit myself (see below).
CVS Version:
function theme_service_links_node_format($links) {
return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. theme('links', $links) .'</div>';
}
My Version:
function theme_service_links_node_format($links) {
return '<div class="links">. t('Bookmark/Search this post: ') . theme('links', $links) .'</div>';
}
The differences are fairly minor, and the output renders on one line with the same style as other links.
Russ
Comments
Comment #1
frjo commentedThe current output is by design. This way you can easily style the output anyway you like with only css. See http://drupal.org/node/70115.
The following code would put everything on one line e.g.
Comment #2
udijw commentedSorry for the lame question:
In which file should I add the
Thanks,
Udi
Comment #3
apsivam commentedYour theme's css file
Comment #4
udijw commentedthanks apsivam,
I placed it in my themes/garland/style.css file, but saw no change. any idea what I am doing wrong?
thanks,
Udi
Comment #5
apsivam commentedmay be you will have to do a force reload on your browser to update cached version of style.css file