Skip to:
Content
Pages
Categories
Search
Top
Bottom

Deleting Log of edits

  • @kimberlyywp

    Participant

    I found this from an old post
    “And for those that just want to hide the code edit your theme css and use this:

    .bbp-reply-revision-log {

    display: none !important;

    }”

    But I can’t figure out where to put that code, I have tried bbpress.css file but it didn’t work, can anyone point me in the right direction? Thanks in advance!

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robin-w

    Moderator

    yes, you have a choice

    1. You could put it in your style.css – that is a file called style.css that you will find in your theme

    wp-content/themes/%yourthemename%/stle.css

    where %yourthemename% is the name of your theme

    Just drop it at the end.

    This will then override the code in bbpress.css, and is the easiest way

    2. Otherwise you can create a directory called css in your theme

    /wp-content/themes/%yourthemename%/css

    and copy the existing bbpress.css across to get

    /wp-content/themes/%yourthemename%/css/bbpress.css

    but here’s the thing, you then need to find and edit the existing display lines, just adding code will give two sets, and your maybe won’t take preference

    the lines you are looking start at line 904 and say

    /* =Revisions
    -------------------------------------------------------------- */
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    	border-top: 1px dotted #ddd;
    	width: 100%;
    	margin: 0;
    	padding: 8px 0 0 0;
    	font-size: 11px;
    	color: #aaa;
    }
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li {
    	list-style-type: none;
    }
    
    

    you just need to edit that to

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none ;
    }

    come back if we can help further

    @kimberlyywp

    Participant

    I did drop that code in the style.css but it didn’t change anything. Is it possible that something is overwriting it?

    @robin-w

    Moderator

    try this in your style.css

    `/* =Revisions
    ————————————————————– */

    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
    #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
    Display : none !important ;
    }

    @kimberlyywp

    Participant

    I just changed the code and put that in the style.css and I’m still seeing the edits: http://livessoonforgotten.com/members-3/user-groups/in-memorandum/forum/topic/test-memorial/

    @robin-w

    Moderator

    Ok, the code works (just retested it on my site), but the link you supplied is not using it.

    are you sure you put

    /* =Revisions
    ————————————————————– */
    
    #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
     #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
     #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log {
     Display : none !important ;
     }
    

    in

    wp-content/themes/divi/style.css

    Do you have caching software running?

    @kimberlyywp

    Participant

    Yes, that is exactly where I put the code. I didn’t have caching software at all but just installed it and flushed the cache and we’re good now! Thank you for your help!

    @robin-w

    Moderator

    great – glad you’re fixed !

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar