Jump to content


Photo
- - - - -

How to remove image (with caption - description) border?

image border

Best Answer Martin Davies , 16 April 2014 - 04:55 PM

Hi @renadelp 

 

You can remove the elements with a few lines of Custom CSS as follows 

 
 .wp-caption .wp-caption-text {
  display:none;
  }

 .wp-caption {
  background-color:transparent;
  border:none;
  }

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 renadelp

renadelp

    Member

  • Members

  • 21 posts
  • Country: Country Flag

Posted 16 April 2014 - 03:59 PM

Hello all, how to remove the border from an image with its caption, when posted inside a blog article?

 

Here you can see it in this image.

 

1z6tsty.png

 

Thanks much for support and help!

 

Site url: www . purseandco . com

Image example url: www . purseandco . com /2014/03/sandali-2014/



#2 Martin Davies

Martin Davies

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 16 April 2014 - 04:41 PM

Hello @

Please Login or Register to see this Hidden Content

 

Can we have a link to this on your site please so we can see your particular setup?



#3 renadelp

renadelp

    Member

  • Members

  • 21 posts
  • Country: Country Flag

Posted 16 April 2014 - 04:43 PM

Hello @

Please Login or Register to see this Hidden Content

 

Can we have a link to this on your site please so we can see your particular setup?

 Sure Martin, here you are: www . purseandco . com /2014/03/sandali-2014/

 

Thanks much!



#4 Martin Davies

Martin Davies

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 16 April 2014 - 04:55 PM   Best Answer

Hi @renadelp 

 

You can remove the elements with a few lines of Custom CSS as follows 

Please Login or Register to see this Hidden Content


  • renadelp likes this

#5 renadelp

renadelp

    Member

  • Members

  • 21 posts
  • Country: Country Flag

Posted 16 April 2014 - 05:04 PM

 

Hi @renadelp 

 

You can remove the elements with a few lines of Custom CSS as follows 

Please Login or Register to see this Hidden Content

Thanks much Sir, 

 

second part of code works smoothly (I desiderd only the image border, not the caption).

 

Thanks again! :)



#6 Martin Davies

Martin Davies

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 16 April 2014 - 05:15 PM

No Problem at all - Glad that worked :) 







Also tagged with one or more of these keywords: image, border