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
 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
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
 Quote

Status: offline

Dazzy

Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
Thanks Blaine that sorted the links section, now what about the upcoming events block, where can I get it to align properly?
Dazzy
 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