Results 1 to 7 of 7

Thread: All banners with same css class

  1. #1
    Thread Starter
    carlitospr's Avatar
    Join Date
    Jul 2013
    Location
    Puerto Rico
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts

    All banners with same css class

    I was trying to modify the css for the adv divs inserted by the plugin but just found out that all of them are being given the same class...

    Upon examining the code form banners_galore_classipress.php I'm pretty sure all ad divs should be classed differently

    I'm no PHP expert but I asume the .$position. part should be outputing something right??

    Code:
    echo '<div class="'.$position.' adv" style="text-align:center; padding:20px;">'.$advcode.'</div>';
    This is what is being outputted
    HTML Code:
    <div class=" adv" style="text-align:center; padding:20px;">

    What I'm trying to modify is alignment and padding and set it differently on 3 ad divs...

    Is that a bug or not??

    You can view my site @ http://www.comprayventadearmas.com and the ads in question are the one showing each 3 classfied ads and the one above the single item description.

  2. #2
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    carlitospr's Avatar
    Join Date
    Jul 2013
    Location
    Puerto Rico
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    carlitospr's Avatar
    Join Date
    Jul 2013
    Location
    Puerto Rico
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Thread Starter
    carlitospr's Avatar
    Join Date
    Jul 2013
    Location
    Puerto Rico
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Marketplace Seller vipul's Avatar
    Join Date
    Jun 2012
    Location
    Surat,Gujarat,India
    Posts
    1,647
    Thanks
    0
    Thanked 172 Times in 170 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dimitris geocoder-class.php on line 125
    By newzealandnz in forum Report Vantage Bugs (Legacy)
    Replies: 7
    Last Post: June 16th, 2013, 08:00 AM
  2. [SOLVED] Add Class to Fields
    By kristopherk in forum Advanced Custom Fields
    Replies: 6
    Last Post: March 13th, 2013, 02:12 AM
  3. Content_Left Class
    By IOGAMES in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 17th, 2011, 10:13 AM
  4. how to make a new class?
    By spymare in forum ClassiPress General Discussion
    Replies: 4
    Last Post: April 4th, 2011, 06:07 AM