Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #507194

    Hello,

    For page below I would like to make the (SOLD) shown on any car on list view page in bold RED to stick out and possibly also add a diagonal banner.

    Please could you help me with these.

    Many thanks and planning to use ENFOLD for another upcoming project in next days.
    Regards,
    S

    #507225

    Hi spheor!

    You’ll need to surround the “SOLD” text with a span like so.

    <span>SOLD</span>
    

    And then add this to your custom CSS.

    .grid-entry-title a span { color: red !important; }
    

    Cheers!
    Elliott

    #507538

    hello,

    Thanks for message.
    This did not work as the title is simply showing the <span> tags as if html is not supported for the title..
    Please advise any other suggested solution.
    You can see error on bottom left image. I will remove from live site

    http://postimg.org/image/ai6vddbdl/

    Many thanks
    S

    #507543

    Further to last post, I changed
    <span>SOLD</span>
    to<span> directly and it worked!
    So many thanks

    Could you answer re the other question: addition of a SOLD banner like in link below supported on the gallert

    #507721

    Hey!

    Currently it is not easy possible without custom coding. If you do not mind creating a temporary admin login and posting it here privately, i can give it a quick try.

    Edit: Please turn on custom CSS field for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your element a custom CSS class and then add following code to Functions.php file in Appearance > Editor

    function add_custom_target(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.your-custom-class .inner-entry a img').append('<div class="sold_small"></div>');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_target');

    and then add following code to Quick CSS in Enfold theme options under General Styling tab
    [see private content field below]

    Cheers!
    Yigit

    • This reply was modified 9 years, 3 months ago by Yigit.
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.