Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file first article is not aligned but others are

More
8 years 8 months ago #4486 by lorelei9
As a test to get familiar with the application, I created three dummy articles to be displayed vertically within a module. However, when displaying the page, the first article is not flush with the left side but has been pushed a few pixels to the right. The two articles below that are displayed correctly. Using the inspect tool within the browser does not reveal any clues that I'm able to find. Reordering the articles makes no difference. To see the page, go to testsite.jesupfbc.org .

I'd appreciate any suggestions.

Thanks,

Tim

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #4487 by syw
Hello Tim,

the template uses

text-indent

on the <ul> element
#ttr_content ul {
    text-indent: 15px;
}

This is what causes the extra space on the first element.

Just add a CSS override to the module instances:
ul.latestnews-items {
    text-indent: 0;
}

You just need to add this CSS snippet on one module instance on a page. All other instances will inherit it.

Olivier.

Please Log in or Create an account to join the conversation.