New Landing How can we help? Cardinal Theme Support Cardinal – Feature Request Portfolio Gallery Featured Image

Viewing 11 posts - 1 through 11 (of 11 total)
  • #91482
    icecast
    Member
    Post count: 182

    hi, any suggestions to use fontastic svg icon instead of uploading images to media library?

    <svg class=”icon-play”><use xlink:href=”#icon-play”></use></svg>

    instead of

    /themes/cardinal/images/default-thumb.png

    #91497
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    It will be much easier to upload an image to your child theme and apply with custom css

    – Kyle

    #91504
    icecast
    Member
    Post count: 182

    thanks, but i disagree, svg icons have less impact on page load time and therefore preferable to uploading images

    #91509
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Well if you want to switch the default image to an svg that’s your preference and therefore will have to work out yourself as this is something specific to your needs

    – Kyle

    #91514
    icecast
    Member
    Post count: 182

    you won’t provide any guidance on how to use svg icons with portfolio gallery?!

    #91518
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Well seeing as WordPress does not allow svg to be uploaded to the media library, it’s not possible

    – Kyle

    #91519
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try testing this plugin: https://wordpress.org/plugins/scalable-vector-graphics-svg/

    If you can upload the the media library you should be able to use it

    – Kyle

    #91542
    icecast
    Member
    Post count: 182

    thanks, tried it, but cannot get to work – how about just removing swift default-thumb.png and displaying portfolio title without having to hover?

    #91543
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    figure.animated-overlay figcaption {
      opacity: 1;
    }
    .minimal-design .thumb-info h4 {
      font-size: 12px;
    }

    – Kyle

    #91557
    icecast
    Member
    Post count: 182

    works great, thank you

    #91560
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! No problem

    – Kyle

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register