Style first entry of Page List different

Hi all,

For the Page List I created my own view.php and view.css file to style it myself. Now I am trying to style the first entry of the blogs different, but I am not sure how to do this. Is it possible to fix this in the view.php? I would appreciate your help.

Best regards,

View Replies: View Best Answer
JohntheFish replied on at Permalink Reply
In the view.css, apply the :first-child selector to the class wrapping each item

.ccm-block-page-list-page-entry:first-child  .ccm-block-page-list-title{
tallacman replied on at Permalink Best Answer Reply
If you look at the view.php of the autonav block there is a line you can un-comment that will allow you to have EVERY page item have a unique ID.

(which also may help...)
hencovanee replied on at Permalink Reply
Thanks both for your help! What I am trying to achieve is have the first blog item appear in a large format (in bootstrap terms: 12 columns wide). Underneath that one the rest will appear in a 3 column template (each 4 columns wide).

Is it possible to do this in the view.php file?