Notifications
Clear all

[Solved] How do I hide the frame that appears when I add a file?

9 Posts
2 Users
5 Reactions
522 Views
Posts: 56
Topic starter
(@user1038)
Trusted Member
Joined: 1 year ago

Advanced attachments← Use this to.
When you add a file to a post, when you view it
I want to hide the frame that appears around it using CSS
I would be grateful if you could help me.

Topic Tags
8 Replies
Tutrix
Posts: 1455
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @user1038

add this to custom css

#wpforo #wpforo-wrap .wpforo-post .wpforo-attached-file {
  padding: 0 !important;
  border: none !important;
}

Dashboard > wpForo > Settings > Colors & Styles > Custom CSS

1 Reply
(@user1038)
Joined: 1 year ago

Trusted Member
Posts: 56

Hi @tutrix 

I don't know why, but it's not changing.
The error probably isn't there.

Tutrix
Posts: 1455
(@tutrix)
Noble Member
Joined: 5 years ago

Posted by: @user1038

I'm not sure why, but it doesn't seem to apply, so far.

Always clear the browser cache after changes

1 Reply
(@user1038)
Joined: 1 year ago

Trusted Member
Posts: 56

Hi@tutrix

Cache erased.
Is the code in the correct place?

 

Tutrix
Posts: 1455
(@tutrix)
Noble Member
Joined: 5 years ago

@user1038

it works, see attachment

 

1 Reply
(@user1038)
Joined: 1 year ago

Trusted Member
Posts: 56

@tutrix 

Thank you.
Advanced attachments ← I'm using this.
"https://way-l.com/test/test/"
How can I remove the frames from this page as well?
How can I do this?

Tutrix
Posts: 1455
(@tutrix)
Noble Member
Joined: 5 years ago

Posted by: @user1038

How can I do this?

#wpforo #wpforo-wrap .wpfa-item.wpfa-img {
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}
1 Reply
(@user1038)
Joined: 1 year ago

Trusted Member
Posts: 56

@tutrix

I was able to make the change successfully!
I asked some additional questions.
I appreciate your answers, thank you!