-
AuthorPosts
-
September 22, 2015 at 4:38 pm #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,
SSeptember 22, 2015 at 5:01 pm #507225Hi 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!
ElliottSeptember 23, 2015 at 8:53 am #507538hello,
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 sitehttp://postimg.org/image/ai6vddbdl/
Many thanks
SSeptember 23, 2015 at 8:57 am #507543Further to last post, I changed
<span>SOLD</span>
to<span> directly and it worked!
So many thanksCould you answer re the other question: addition of a SOLD banner like in link below supported on the gallert
September 23, 2015 at 1:29 pm #507721Hey!
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.
-
AuthorPosts
- You must be logged in to reply to this topic.