Slider image sizes

  • Author
    Posts
  • #37301

    ascideas
    Member
    Original poster

    Greetings,
    Various posts here state that the slider images in the Linen theme should be 652 x 300. We have created images of that size for the slider, but, for some reason, they are not matching up properly with the right-side text block of the slider.

    Advice?

    The blog I need help with is: ascideas.org

    #37430

    tollmanz
    Member

    Hi there!

    In looking at your site, it seems that you might have added some custom CSS like:

    img[class*="wp-post-image"] {
        margin-top: 32px;
    }

    This appears to be misaligning the featured slider images. Removing that code should fix the issue.

    #37433

    ascideas
    Member
    Original poster

    Thanks,

    I DID enter that code, with the assumption that it would fix a different problem, namely, the tendency of the left-column date block to cut off the top third of the featured image.

    Can you tell me how to fix the date block issue, once I remove this code to fix the slider images?

    #37441

    scottrrollo
    Theme Author

    Hello!

    The code you have added uses a general selector that is affecting all of your images. Please try replacing this code with the following:

    .attachment-index-thumb {
        margin-top: 32px;
    }

    I’ve replaced img[class*=”wp-post-image”] with .attachment-index-thumb. This is a specific selector that will only apply the margin changes to your index thumbnails.

    #37458

    ascideas
    Member
    Original poster

    Yes, this works perfectly. Many many thanks!

The topic ‘Slider image sizes’ is closed to new replies.