Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 10:41 pm EST
Geeklog Forums
Block content alignment
Status: offline
Dazzy
Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
Hey folks
I've noticed with 1.4.1 the alignment of stuff in blocks is off somewhat, where do I need to edit to correct this? I took a quick look in the style.css and in the offending blocks functions.inc file but couldn't see the <ul> tag.
I found with my site menu(normal block) if I removed the <ul> and just left the <li> everything lined up as before.
As an example see the links block on this site.
Many thanks
Dazzy
Dazzy
I've noticed with 1.4.1 the alignment of stuff in blocks is off somewhat, where do I need to edit to correct this? I took a quick look in the style.css and in the offending blocks functions.inc file but couldn't see the <ul> tag.
I found with my site menu(normal block) if I removed the <ul> and just left the <li> everything lined up as before.
As an example see the links block on this site.
Many thanks
Dazzy
Dazzy
5
8
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The lists in the blocks have a CSS style per use now actually, looks like we need to add the the style setting for the new-links as well. The issue, is the default CSS style for a list adds a margin or left-padding. The following CSS is from the current professional theme's style.css in GL 1.4.1
/* Block Lists ****************************************************************/
.list-feed,
.list-new-plugins,
.list-new-comments,
.list-new-trackbacks,
.list-older-stories {
margin:0px;padding:0px;
}
We need to add the CSS declaration list-new-links to the above so the New Links block also over-rides the default margin and padding.
Geeklog components by PortalParts -- www.portalparts.com
CSS Formatted Code
/* Block Lists ****************************************************************/
.list-feed,
.list-new-plugins,
.list-new-comments,
.list-new-trackbacks,
.list-older-stories {
margin:0px;padding:0px;
}
We need to add the CSS declaration list-new-links to the above so the New Links block also over-rides the default margin and padding.
Geeklog components by PortalParts -- www.portalparts.com
9
10
Quote
All times are EST. The time is now 10:41 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content