Results 1 to 2 of 2

Thread: Customised loop for classipress

  1. #1
    Thread Starter
    Junior Member opportunitymax's Avatar
    Join Date
    Apr 2011
    Posts
    31
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Customised loop for classipress

    Hi,

    I wanted to split the 'recent ads' loop on classipress into two columns, and assign one to a custom posts type for my calendar of events. I successfully managed to split the loop into two columns of equal width, but it has affected the styling on the sidebar and footer. I've changed the css for 'ad loop block' (in my case project loop block) back to its former values and the sidebar and footer go back to the proper styling.

    Please could someone take a look at my this code and tell me what I'm doing wrong!

    Once done I will share the code, as I think this would be a great functionality for classipress.

    HTML Code:
    /* project loop left block */
    .post-block { width:260px; background: url("images/block_topbg.gif") repeat-x scroll center top #FFFFFF; margin:0 0 8px 0; padding:14px; border:1px solid #bbb; -khtml-border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;}
    .post-left {float:left;padding-right:15px;}
    .post-left a.preview img:hover {opacity:0.6;
    .post-block .post-right {float:right;max-width:260px;min-width:260px;} 
    .post-block .post-right-no-img {float:right;width:100%;} 
    .post-block .full {width:100%;}
    .post-block .post-right h3 {float:left; max-width:260px; margin:0; padding:0; font:bold 17px/1.0em Arial, Helvetica, sans-serif; color:#4f4f4f; text-decoration: none; text-shadow: 0 1px 0 #FFFFFF;}
    .post-block .post-right-no-img h3 {float:left; max-width:260px; margin:0; padding:0; font:bold 17px/1.0em Arial, Helvetica, sans-serif; color:#4f4f4f; text-decoration: none; text-shadow: 0 1px 0 #FFFFFF;}
    .post-block .post-right h3 a, .post-block .post-right-no-img h3 a { text-decoration: none; }
    .post-block .post-right h3 a:hover, .post-block .post-right-no-img h3 a:hover { text-decoration: underline; }
    .post-block .post-right p.post-meta, .post-block .post-right-no-img p.post-meta {color:#AFAFAF;font-size:11px;margin:0;padding:4px 0;text-shadow:0 1px 0 #FFFFFF;border-bottom:1px dotted #BDBDBD;}
    .post-block .post-right span.owner , .post-block .post-right-no-img span.owner {padding: 0 5px;}
    .post-block .post-right span.owner img.avatar, .post-block .post-right-no-img span.owner img.avatar {padding:0 7px 0 0;margin-bottom:-3px;}
    .post-block .post-right p.post-desc, .post-block .post-right-no-img p.post-desc { margin:0; padding:6px 0;}
    .post-block .post-right p.stats, .post-block .post-right-no-img p.stats {clear:both; padding:0; float:right;font-size:11px;color:#AFAFAF;}
    .post-block .post-right p.adid, .post-block .post-right-no-img p.adid {clear:both; padding:0; float:right;font-size:11px;color:#AFAFAF;}
    .post-block .post-right p.location, .post-block .post-right-no-img p.location { margin:0; padding:0;}
    Thanks

  2. #2
    barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,779
    Thanks
    185
    Thanked 740 Times in 622 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. Thank you.

    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Holy customised - Almost a year later, it's finally launched!
    By ddashwood in forum Showcase & Feedback
    Replies: 2
    Last Post: March 21st, 2011, 03:41 PM
  2. I have A Error classipress/loop-ad.php on line 25
    By vkaplina in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: November 17th, 2010, 07:43 PM
  3. How to add to customised text in the registration email
    By shareef790 in forum ClassiPress General Discussion
    Replies: 2
    Last Post: September 22nd, 2010, 02:17 AM
  4. Lost and Found Pet Listings - Customised Classipress Theme
    By ahughes in forum Showcase & Feedback
    Replies: 22
    Last Post: May 4th, 2010, 12:24 AM