Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-05 17:33:28

Plaz
Member
From: Minnesota
Registered: 2004-06-02
Posts: 33

Get rid of extra space below sticky posts?

I have a sticky post above my list of articles/excerpts. There is a large space below the sticky article that I can’t seem to get rid of. How do I remove that? I just want one or two lines of space under the sticky post, before the list of articles.


If you want something you have never had, then you must be willing to do something you have never done.

Offline

#2 2009-03-05 17:55:55

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Get rid of extra space below sticky posts?

That is possibly because of the css margins/paddings/whatever around the sticky. If you have a url, somebody will probably provide you with a solution before you blink.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2009-03-05 19:21:58

Plaz
Member
From: Minnesota
Registered: 2004-06-02
Posts: 33

Re: Get rid of extra space below sticky posts?

Well, here’s the styles…

body
{ margin: 0; font-family: Verdana, “Lucida Grande”, Tahoma, Helvetica, sans-serif; color: #000000; font-size: .8em; line-height: 1.5em;
}

blockquote, h3, p, li
{ padding-left: 0px;
}

blockquote
{ margin-right: 0; margin-left: 20px;
}

h1, h2, h3
{ font-weight: normal;
}

h1, h2
{ font-family: Verdana, “Lucida Grande”, Tahoma, Helvetica, sans-serif;
}

h1
{ font-size: 3em;
}

h2
{ font-size: 1em; font-style: italic;
}

hr
{ margin: 2em auto; width: 370px; height: 1px; color: #7a7e7d; background-color: #7a7e7d; border: none;
}

.outlineforms
{ background-color: #EEEEEE; border: 1px #000000 solid;
}

.outlineblk
{ background-color: #FFFFFF; border: 1px #000000 solid;
}

.outlineblkwgreen
{ background-color: #E9F3D1; border: 1px #000000 solid;
}

small, .small
{ font-size: .8em; color: #CCCCCC;
}

searchresults
{ text-decoration: underline;
}

a
{ text-decoration: none; color: #006699;
}

a:hover
{ color: #990000; text-decoration: underline;
}

h1 a, h2 a, h3 a
{ border: none;
}

h3 a
{ font: 1.5em Georgia, Times, serif;
}

a img {
border: 0;
}

#sidebar-2 a, #sidebar-1 a
{ color: #006699; border: none;
}

#bodylinks a:link
{ text-decoration: underline;
}

#bodylinks a:visited
{ text-decoration: underline;
}

#bodylinks a:active
{ text-decoration: underline;
}

#bodylinks a:hover
{ color: #990000; text-decoration: underline;
}

#sidebar-2 p, #sidebar-1 p
{ font-size: 0.9em; line-height: 1.5em;
}

.caps
{ font-size: 0.9em; letter-spacing: 0.1em;
}

div.divider
{ margin: 2em 0; text-align: center;
}

#accessibility
{ position: absolute; top: -10000px;
}

#container
{ margin: 10px auto; padding: 10px; width: 760px; \width: 770px; w\idth: 760px;
}

#head
{ height: 100px; text-align: center;
}

#content
{ margin: 0 155px; padding-top: 30px;
}

#foot
{ margin-top: 5px; clear: both; text-align: center;
}

#sidebar-1, #sidebar-2
{ \width: 150px; w\idth: 150px;
}

.comments_error
{ color: #000; background-color: #fff4f4;
}

ul.comments_error
{ padding: 0.3em; list-style-type: circle; list-style-position: inside; border: 2px solid #fdd;
}

div#cpreview
{ color: #000; background-color: #f1f1f1; border: 2px solid #ddd;
}

form#txpCommentInputForm td
{ vertical-align: top;
}

.notebox
{ padding: 10px; border-top: 1px solid #999999; border-bottom: 1px solid #999999; background: #ffffe6;

}

.locationbox1
{ padding: 10px; border: 1px solid #999999; background: #ffffe6;

}

#articletags
{ font: normal .8em verdana, helvetica, tahoma, sans-serif; line-height: 1.5; letter-spacing: 0;
}

#articletags a:link
{ text-decoration: underline;
}

#articletags a:visited
{ text-decoration: underline;
}

#articletags a:active
{ text-decoration: underline;
}

#articletags a:hover
{ color: #990000; text-decoration: underline;
}


If you want something you have never had, then you must be willing to do something you have never done.

Offline

#4 2009-03-05 20:22:27

keith
Member
From: Blyth, Northumberland, England
Registered: 2004-12-08
Posts: 199
Website

Re: Get rid of extra space below sticky posts?

Can we have a URL to a Sticky page, please?

It’s hard to tell from your posting how your Sticky is being styled…


Keith
Blyth, Northumberland, England
Capture The Moment

Offline

Board footer

Powered by FluxBB