Styling the news-list

Permalink Browser Info Environment
Hi,

Probably a silly question, but I've placed my easy-news list inside a CSS-box, and I'd like for the pagination-buttons to be placed at the bottom corners, while the news-list itself start from the top of the box.

I can use C5's "Design"-function to get the entire block to align to either bottom or top, but I can't figure out how to separate them.

Any tips or hints?

Thomas

Type: Discussion
Status: New
buntho
View Replies: View Best Answer
hanicker replied on at Permalink Reply
hanicker
Hi, unfortunately it may be hard to separate those two parts in different blocks.
You can pretty easily change the html layout or add some custom css.

You may want to check easy_news\blocks\easynews_list\view.php

for layout, or try adding some css rules with position:absolute to change position.

Can you point me to your site?
Thanks in advance
Regards
Nicola
buntho replied on at Permalink Reply
buntho
Hey Nicola,

Thanks for getting back to me.

I might have written it poorly (English isn't my native language), but it's actually in the same block.

I'd just like to have the "Previous" and "Next"-buttons aligned to the bottom, while the news themselves are aligned to the top. For the life of me, I can't figure out how to do that.

I'll make a user for you and send the login-details in a PM, so you can see for yourself what it's all about :-)
hanicker replied on at Permalink Best Answer Reply
hanicker
You may want to try adding the following cms.
You can add it in your style or create an html block with this content.
<style>
body div.ccm-pagination {
bottom: 20px;
position: absolute;
width: 100%;
}
</style>


Let me now if you have any problem.
Regards
buntho replied on at Permalink Reply
buntho
Huh.. who'd have thought it was that easy. I was fiddling around with the main definition of ccm-pagination, but with no luck.

But thanks!! You're a lifesaver :)

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.