Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1069593

    jonaskaapa
    Participant

    Hi

    How do I remove border and padding around post featured image on blog page and post page? I also get a blue “border” below the image which I can’t get rid of?

    Kind regards,
    Jonas

    #1069596

    Thai
    Moderator

    Hi there,

    Please add the following CSS:

    .entry-featured {
    border: none;
    padding: 0;
    }

    Hope it helps.

    #1071213

    jonaskaapa
    Participant

    Thank you! I was able to remove the grey border and the padding but there is still a blue line below the image that appears on some screen sizes as I resize the browser window. Is there a way for me to prevent that from showing as well?

    Kind regards,
    Jonas

    #1071225

    Paul R
    Moderator

    Hi Jonas,

    Kindly change the code to this.

    
    body .entry-featured {
       border: 0;
       padding: 0;
    }
    

    If that doesn’t help, please provide us your site url so we can take a closer look.

    #1074402

    jonaskaapa
    Participant
    This reply has been marked as private.
    #1074476

    Thai
    Moderator

    Hi Jonas,

    Try adding the following CSS under Customizer > Custom > Edit Global CSS:

    a:focus, 
    a.x-btn:focus, 
    select:focus, 
    input[type="file"]:focus, 
    input[type="radio"]:focus, 
    input[type="submit"]:focus, 
    input[type="checkbox"]:focus, 
    input[type="button"]:focus {
            outline: none !important;
    }

    Hope it helps.