WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
Problem w linking images (3 posts)

  1. ikapika
    Member
    Posted 9 months ago #

    When I add a link to an image in the header widget, it's like the image is suddenly wider and pushes the image next to it (same row) down to the next "row".

    The same thing happens when I have several images in a row on a page.

    http://stickamera.se/nya/

    [ moderator note: please do not bump you topic, it is not permitted here please see the forum welcome page: http://codex.wordpress.org/Forum_Welcome#No_Bumping ]

  2. Gilbert
    Member
    Posted 9 months ago #

    That's because the linked images are displayed as block.

    a > img {
        border: 0 none !important;
        display: block;
    }

    Try to override that css rule. Ex. add a class to your banners:

    a > img.banner {
        display: inline-block;
    }
  3. ikapika
    Member
    Posted 9 months ago #

    I added that piece of code to the custom css but that didn't help.
    I removed the original piece from the editor css-file and added the new one there as well, but still no difference.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.