Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

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

9 Posts
2 Users
5 Reactions
717 Views
Posts: 56
Topic starter
(@user1038)
Trusted Member
Joined: 2 years 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: 1522
(@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: 2 years 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: 1522
(@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: 2 years ago

Trusted Member
Posts: 56

Hi@tutrix

Cache erased.
Is the code in the correct place?

 

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

@user1038

it works, see attachment

 

1 Reply
(@user1038)
Joined: 2 years 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: 1522
(@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: 2 years 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!