+ Reply to Thread
Results 1 to 8 of 8

Thread: How to hide specific field label in listing page?

  1. #1
    Senior Member
    Join Date
    Jun 2013
    Posts
    188

    How to hide specific field label in listing page?

    Hi.
    I'm trying to target a specific field label and hide it, via css, on the listing detail page.

    The name of the field label is in a span. It looks like the css path is something like:

    div.table-cell > div.name > div > span

    So, for example, if the field label is "Auto Logo", how can I hide just that label from showing on the listing page?

    I've tried:

    Code:
    Only registered members can view the code.
    But that's not working. And I've tried other variations.

    Any ideas?

    Thank you
    Ron


    BTW, I'm using the General Modern template.

  2. #2
    You probably need to check fieldout_value.tpl file in your template folder.

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Posts
    188
    Wei
    Can you explain in more detail how to do that?

  4. #4
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    ? there is no way that if it is just one listing field you want blank that you just leave that one title blank ? the only problem I see is there would be no title when setting the ad up ? there may be a workaround for that ?

  5. #5
    Senior Member
    Join Date
    Jun 2013
    Posts
    188
    Apparently, you can target an element with an assigned "title" via css, as pointed out in my original post.

    Maybe someone at Flynax can let us know for sure.

  6. #6
    You could do it via css, but as I recall the field title and value can be changed or altered via fieldout_value.tpl. But I'm not sure how to. Did you give it a look?
    If you want to hide it in css I can help you it's easy, just send me link to your listing page and tell me which title or value you want to hide via css

  7. #7
    Hello,

    1. At first i suggest you look to "Enable on - View Details Page" option for each of field in AP
    2. In last version of the general_modern template each field in listing details page have unique ID of field, see screen



    In this case you can use simple css rule:

    Code:
    Only registered members can view the code.
    Attached Images Attached Images
    Thank you, Curtis.
    @Flynax Company

  8. #8
    Senior Member
    Join Date
    Jun 2013
    Posts
    188
    Thank you Curtis!
    The 2 options by themselves will hide the entire field (label and data), but I was able to add a selector to the css and it works beautifully:

    Code:
    Only registered members can view the code.
    That hides just the field label.

    Thanks!
    Ron

+ Reply to Thread