Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #609419

    Hi..
    I would like to ask is it possible to put icon beside the category?
    You know.. If you go to blog page, and it displays grid of all blog post.. There are image, categories & tags, then title then read more link..
    On the category, I would like to show a small icon, so if you see on other themes for properties, it shows like number of bed bathroom, garage and area size.. Would that be possible with enfold?

    Thank you ..

    Surya

    #609428

    yes!


    if you have no link to your site where we can see your whishes – is there an example site on enfold demos?
    i guess it could be done by pseudo class before but it is easier to have not only a description of your problem

    #609436

    Thanks Guenni,

    Well.. I don’t see it in any of enfold demo (or maybe I missed it)..
    But you can see my website http://villabugis.com/balivillasseminyak/
    There you will see grid of villas, under each image there is a title and excerpt, I am wondering if we can replace the excerpt with the applied category and icon of the category..
    something like in this link: http://marstheme.com/?product=sweethome
    [icon]1000 Sq [icon]4 Bathrooms [icon]3 Bedrooms

    Hope it’s understandable..

    Thanks..

    #609835

    yes now i know what you mean – i will think of it a while becaus i want to make it

    is the text under your images dynamicaly generated or do you fill out those details?

    Villa Santi
    4 Bedroom ; 4 Bathroom - Land Size : 750 m2
    10 min. walk to beach | 10 min. walk to Shopping, Restaurants, Spa and Massage | 25 min. drive to airport
    #609863

    if not it will be nice to have some possibilities to selekt those words specifically.
    If you do this:

    Villa Santi
    <span class="bed icons"> 4 Bedroom</span> | <span class="bath icons">4 Bathroom</span> | <span class="size icons">Land Size : 750 m2</span>
    <span class="beach icons">10 min. walk to beach</span> | <span class="shop icons">10 min. walk to Shopping, Restaurants, Spa and Massage</span>
    <span class="airport icons">25 min. drive to airport</span>
    .icons::before {
        font-family: entypo-fontello;
        font-size: 24px;
        position: relative;
        padding-right: 5px
    }
    
    .bed::before {
        content: "\e8af";
        top: 3px;
    }
    .bath::before {
        content: "\e8ce";
        top: 3px;
    }
    .size::before {
        content: "\e869";
        top: 3px;
    }
    .beach::before {
        content: "\e8b9";
        top: 3px;
    }
    .airport::before {
        content: "\e8b6";
        top: 3px;
    }
    .shop::before {
        content: "\e859";
        top: 3px;
    }

    see here: http://webers-testseite.de/enf02/testsite/
    for formating your text with span tags you can use f.e. Bueltges Add quicktag plugin

    or if it is allways the same text underneath those hotels you can copy paste the whole content and fillout than the correct values for the given Hotel

    <span class="bed icons"> 4 Bedroom</span> | <span class="bath icons">4 Bathroom</span> | <span class="size icons">Land Size : 750 m2</span>
    <span class="beach icons">10 min. walk to beach</span> | <span class="shop icons">10 min. walk to Shopping, Restaurants, Spa and Massage</span>
    <span class="airport icons">25 min. drive to airport</span>

    PS: i did the top value to the specific class because sometimes it might be better to put in different values.

    • This reply was modified 8 years, 6 months ago by Guenni007.
    #610716

    Hi Guenni,

    Thank you so much.. that’s a great idea!!
    If possible I prefer to have not to fill in the text trough excerpt, I would prefer the information to be generated from category or custom fields, I know it would be more complicated, but please advise if you know any way to do.. But your idea above is excellent too!!

    #611702

    Hi!

    If you want to do this using custom fields then you will have to modify the config-templatebuilder > avia-shortcodes> portfolio.php file directly. This function will help: https://developer.wordpress.org/reference/functions/get_post_meta/

    Related links: https://codex.wordpress.org/Custom_Fields

    Best regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.