Notifications
Clear all

[Solved] How to extend images to full width

9 Posts
2 Users
2 Reactions
1,064 Views
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 3 years 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: 3647
(@chris)
Famed Member
Joined: 3 years ago

Hi @coconut,

Try this CSS Code:

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

Trusted Member
Posts: 54

@chris 

Copied and pasted the code but it not working.

Clear the cache already!

Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3647

@coconut,

provide a screenshot please.

(@coconut)
Joined: 3 years 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

Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 3 years ago
Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 3 years ago
1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3647

@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.

Posts: 54
Topic starter
(@coconut)
Trusted Member
Joined: 3 years 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.