Notifications
Clear all

[Solved] How to extend images to full width

9 Posts
2 Users
2 Likes
546 Views
COCONUT
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago

How can I enlarge images to full width ....

I have seen a code by @triux but when I copied it and added it in the css it not working for me.

@chris @robert

Very urgent!

Any css code?

Thank you for creating wpforo!

Topic Tags
8 Replies
Chris
Posts: 2385
Admin
(@chris)
Support Team
Joined: 1 year ago

Hi @coconut,

Try this CSS Code:

#wpforo #wpforo-wrap img.wpforo-auto-embeded-image{
    width: 100% !important;
}
3 Replies
COCONUT
(@coconut)
Joined: 1 year ago

Trusted Member
Posts: 54

@chris 

Copied and pasted the code but it not working.

Clear the cache already!

Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 2385

@coconut,

provide a screenshot please.

COCONUT
(@coconut)
Joined: 1 year ago

Trusted Member
Posts: 54

@chris But note I have a advance attachment installed...

And while uploading that image I choose my media to insert that picture

COCONUT
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago
COCONUT
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago
1 Reply
Chris
Admin
(@chris)
Joined: 1 year ago

Support Team
Posts: 2385

@coconut,

I have tried to do that but if the image size will be small, the image will have big white borders, which is ugly,

I cannot find a way to show it without the borders, and how I understand that this is from the image size. 

You can see the white borders in the attached image.

COCONUT
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 1 year ago

Okay thanks I will just manage it that way since it loads fasters too...

I was trying to insert adcode into the forum... So it was displaying but half way...

Thanks @chris really appreciate you guys efforts hoping to support with funds soon.

I will just try the shortcode normally soon.