Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1091885
    neutrin883
    Participant

    When i insert an image with cornerstone. and i make that image a link, the img src is wrapped into a <a> tag, and the style given for this img remains in the <a> so the image is not affected by style.
    as you can see the <img /> tag has no style at all, neither id to work with.

    Version 4.5.3

    #1091948
    Christian
    Moderator

    Hey there,

    To style the image, please add assign an ID or a CLASS to the image element and add your CSS in the page’s Cornerstone Custom CSS. For example:

    .my-class { height: 300px }

    See attachments also.

    Hope that helps. 🙂

  • <script> jQuery(function($){ $("#no-reply-1091885 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>