Saturday, 25 October 2014 21:15
beggarly

Horizontal layout

Horizontal layout

Postby agxben » Fri Dec 14, 2012 8:48 am

Is it possible to have the articles in a row instead of columns? (horizontal)

eg:

Category Title
article 1 | article 2 | Article 3
Category Title
article 1 | article 2 | Article 3
Category Title
article 1 | article 2 | Article 3

any help is appreciated!
agxben
Fresh Boarder
Fresh Boarder
 
Posts: 1
Joined: Fri Dec 14, 2012 8:46 am

Re: Horizontal layout

Postby digitalconnect » Sat Apr 06, 2013 11:17 am

This will be a amazing feature indeed
digitalconnect
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Fri Apr 05, 2013 6:18 pm

Re: Horizontal layout

Postby chus » Sun Apr 07, 2013 2:10 pm

Hi,

This can be achieved with CSS. Rather than modifying modules/mod_featcats/assets/featcats.css you can duplicate it, rename it and choose it in the "Stylesheet" parameter under "Advanced Options".

I would suggest to set "Main Articles count" to 0 and "Sub Articles Count" to your convenience, and adding something like

Code: Select all
.fc_links {
   list-style: none;
   margin: 0;
}
.fc_links:after {
   content: '.';
   clear: both;
   line-height: 0;
   font-size: 0;
}
.fc_links li {
   float: left;   
   padding: 0 5px 0 0;
}
.fc_links li:after {
   content: '|';
}
.fc_links li:last-child:after {
   content: '';
}

To your new stylesheet.
User avatar
chus
Administrator
Administrator
 
Posts: 455
Joined: Thu Sep 13, 2007 2:21 am
Location: Costa Rica

Re: Horizontal layout

Postby digitalconnect » Tue Apr 09, 2013 12:21 pm

Thank you very much :)
digitalconnect
Fresh Boarder
Fresh Boarder
 
Posts: 3
Joined: Fri Apr 05, 2013 6:18 pm


Return to Featured Categories



Who is online

Users browsing this forum: No registered users and 1 guest