Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Problem with CSS positioning Re: Problem with CSS positioning

#132283
AMA
Participant

Re: AlenAbdula,

I havn’t tried this, but I’ll try to apply and see the result..
here is the code, you may have an idea on how to solve it:

php:

function new_excerpt_more($more) {
global $post;
return ‘… ID) . ‘”> ‘.__(‘Readmore’, ‘purepress’).’ ‘;
}

add_filter(‘excerpt_more’, ‘new_excerpt_more’);

CSS (moretag)

.moretag {
display: inline-block;
font-size:15px;
background-color: rgb(45, 179, 233);
border-radius: 5px 5px 5px 5px;
color: #ffffff;
margin: 2em 0px 0px;
padding: 0.10em 0.30em;
border: 1px solid rgba(0, 0, 0, 0.1);
}

CSS (excerpt):

.content,
.excerpt {
display: block;
font-family:Corbel;
font-size:16px;
color:#000000;
padding-top:25px;
padding-right:20px;
line-height: 1.7em
}