having custom field in line with listing title

Discussion in 'GeoCraft WordPress Theme' started by zweitbuch, Mar 31, 2014.

  1. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    Dear team,

    how can i have a custom field displayed right next to the listing title and ideally with a different font?

    e.g. LISTING TITLE, PRICE

    adress
    description
    etc.

    (i would like to have that option everywhere my listings appear, so to say at the front page, single listing, category listing, search listing, etc.)
     
  2. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    plz help
     
  3. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Unfortunately there isn't a way to do that with our theme unless you custom code something up. Sorry.


    Thanks & Regards
    Gourav Shrivastava
     
  4. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    would it at least be possible to have one certain custom field bold and in a different color, everywhere my listings appear, so to say at the front page, single listing, category listing, search listing, etc.!?
     
  5. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    plz advice
     
  6. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    could you plz help me with that one?
     
  7. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    plz help me with that
     
  8. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    I have added a code to change color of "Preis" field in the loop.php file. Use same code in a same way in all other pages as shown in the image attached.

    Code:
    style="color:blue;"
    Thanks & Regards
    Nitesh Raghuwanshi
     

    Attached Files:

    • blue.png
      blue.png
      File size:
      100.3 KB
      Views:
      13
  9. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    thanks nitesh, i got that, but where do i have to put the code in the single-listing file??
     
  10. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
  11. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    awesome nitesh, thanks so much...

    so far this setting is now just active for one listing, namely http://www.zweitbuch.org/Marktplatz/listing/c-fuer-dummies/
    how can i activate it for "price" field all single listings?

    also i changed the order of the custom fields, so i somehow have to redefine the custom css because apparently the code is not fixed on the variable but on a certain # of custom field appeareance...
     
  12. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    This setting is not for one listing it will work for all listings.

    Now you just need to inspect class of custom field of which you want to change color.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  13. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    i am sorry but i do not really get it
    what exactly do i have to change in this code??
    Code:
    body > div.wrapper > div > div > div.content_wrapper > div.depth_article > div:nth-child(2) > div > div.tbl_des > table > tbody > tr:nth-child(8) > td.label.default_10, body > div.wrapper > div > div > div.content_wrapper > div.depth_article > div:nth-child(2) > div > div.tbl_des > table > tbody > tr:nth-child(8) > td.field_10 {
    font-weight:bold;
    color: red;
    }
     
  14. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Just let me know which field formatting you want to change.
    I will provide you css code.

    Thanks & Regards
    Nitesh Raghuwanshi
     
  15. zweitbuch

    zweitbuch Member

    Joined:
    Mar 18, 2014
    Messages:
    172
    Likes Received:
    1
    thanks, i would like to change "Preis", which is the third custom field (after categories and date of publishing)
     
  16. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Use this code.
    Code:
    body > div.wrapper > div > div > div.content_wrapper > div.depth_article > div:nth-child(2) > div > div.tbl_des > table > tbody > tr:nth-child(3) > td.field_3 {
    font-weight:bold;
    color: red;
    }
    body > div.wrapper > div > div > div.content_wrapper > div.depth_article > div:nth-child(2) > div > div.tbl_des > table > tbody > tr:nth-child(3) > td.label.default_3{
    font-weight:bold;
    color: red;
    }
     

Share This Page