- This topic has 27 replies, 7 voices, and was last updated 8 years, 2 months ago by
harshithmanda.
-
AuthorPosts
-
January 3, 2013 at 4:57 am #2720
klrouth
MemberWhat code can I put in the custom CSS to remove the default theme border from all images?
January 3, 2013 at 10:01 pm #2733Sakin
Keymaster@klrouth: there are so many places you need to remove. Try the following css:
.post .post-thumb a,
.entry-content img {
border: none;
}
June 17, 2013 at 3:24 pm #10608rbrt_bene
MemberHelo,
Is there a possibility (CSS code) to remove the image borders (shadow) only from pages, not in the entire website?
I use Catch Everest Pro.
Thank you
Robert
June 17, 2013 at 4:13 pm #10613Sakin
Keymaster@rbrt_bene: Yes you can. Can you send me your page url.
June 17, 2013 at 4:48 pm #10621rbrt_bene
MemberMy page is password protected before launch. The page is the standard Catch Everest Pro theme. I need to disable border for images only in pages, not in other areas of the site.
Thank you,
Robert
June 18, 2013 at 1:48 am #10645Sakin
Keymaster@rbrt_bene: there is no border in the images in the page of Catch Everest Pro theme. But yes there is box shadow. If you want to remove that then you can add the following css in “Appearance => Theme Options => Custom CSS” box.
.page .entry-content img { box-shadow: none; }June 18, 2013 at 11:25 am #10667rbrt_bene
MemberThank you very much Sakin 🙂 it worked.
I would like to ask you one more thing: I am inserting some more photos in pages and in order to be able to align them more efficiently I inserted a table and into the cells I put the pictures.
This works great with a small issue, that in the browser there are some thin lines appearing which separates the rows. See the screenshot: https://www.dropbox.com/s/lbyc9ra6p7s0qjg/Screen%20Shot%20lines.png
Is there a way to make them disappear?
Thank you again for the excellent support.
Robert
June 18, 2013 at 11:48 am #10675Sakin
Keymaster@rbrt_bene: I need to look at that page. So, can you send me the url of that page.
June 18, 2013 at 4:57 pm #10685rbrt_bene
MemberDear Sakin,
As I mentioned before, the website is password protected before launching. for this purpose only I will provide the password so that you could analyze it.
I have two pages where thin lines can be seen above and below the pictures, because the pictures are placed in tables:
https://www.theautoexperience.ro/marci-auto/
https://www.theautoexperience.ro/modele-audi-test/
The site password is: “test”
I would also like to ask you how can I align to center the table on page: https://www.theautoexperience.ro/marci-auto/. I tried to align center the table into the page, but in browser appears aligned to left anyway.
Thank you in advance,
Robert
June 18, 2013 at 9:47 pm #10701Sakin
Keymaster@rbrt_bene: To remove the border you can add the following css in “Appearance => Theme Options => Custom CSS” box
.entry-content table, .entry-content td { border: none; }But for the table center in the page https://www.theautoexperience.ro/marci-auto/ . I am not sure that you have done. You don’t need to add align center in your table. I think removing that will make the table spread full width and no need for center. I am not so aware of table much so cannot help you much.
June 18, 2013 at 10:30 pm #10704rbrt_bene
MemberThank you very much Sakin. It worked perfectly.
I will try not to set the table to the center, hope that will solve the issue.
Regards,
Robert
October 10, 2013 at 1:18 am #15760azizwaing
ParticipantHi Sakin, if you look at my home page, is there a way to make the box shadow around my featured image header disappear so it looks integrated with the entire page? Thanks
October 11, 2013 at 12:37 am #15802Sakin
Keymaster@azizwaing: You need to add in your site URL so that I can check in.
October 21, 2013 at 11:05 pm #16165rbrt_bene
MemberHy again,
Is there a way to have shadows for pictures just on certain pages?
Thank you in advance,
Robert
October 22, 2013 at 12:12 am #16174Sakin
Keymaster@rbrt_bene: Yes, you can add page specific CSS in your Custom CSS box.
October 22, 2013 at 12:26 am #16178rbrt_bene
MemberCan you please send me such CSS?
October 22, 2013 at 12:27 am #16180Sakin
Keymaster@rbrt_bene: I need those page urls.
October 22, 2013 at 12:32 am #16181rbrt_bene
Memberthe page link is: https://www.theautoexperience.ro/despre-anvelope/
password: testthank you
October 22, 2013 at 12:51 am #16182Sakin
Keymaster@rbrt_bene: You can add the following CSS in “Appearance => Theme Options => Custom CSS” box.
.page-id-1873 #main .entry-content img { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }October 22, 2013 at 2:41 pm #16205rbrt_bene
MemberThank you Sakin, it works perfectly.
Regards,
Robert
-
AuthorPosts
- The topic ‘remove default border from images’ is closed to new replies.
