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
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 |
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 :-)
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 :-)
You may want to try adding the following cms.
You can add it in your style or create an html block with this content.
Let me now if you have any problem.
Regards
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
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 :)
But thanks!! You're a lifesaver :)
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