BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Editing buddyboss.css

Viewing 9 posts - 1 through 9 (of 9 total)
  • Question

    #45638
    @ericreynolds

    I wanted a light border to display below an activity header in my activity stream. I attempted to add the following css to my custom.css. It worked fine using my browser developer CSS tools, but it didn’t work when I saved the additions. I discovered that I had to add my custom css to the buddyboss.css file in the parent theme. Is there a way that I can get my results without having to add it to the parent theme buddyboss.css?

    Here’s the code I added to custom.css and buddyboss.css. The attachment shows the border.

    #buddypress .activity-list .activity-content .activity-header,
    #buddypress .activity-list .activity-content .comment-header {
      border-bottom: 1px solid #ddd;
    	}

    Answers

    #45656
    @vapvarun

    Hi @ericreynolds, please include them to custom.css with !important

    
    #buddypress .activity-list .activity-content .activity-header,
    #buddypress .activity-list .activity-content .comment-header {
      border-bottom: 1px solid #ddd !important;
    	}
    

    Regards
    Varun Dubey

    #45659
    @ericreynolds

    Thank you Varun. But that did not work. 🙁

    #45861

    Alyssa
    Participant
    @alyssa-buddyboss

    @ericreynolds please make sure your edits are made in section 1.0 of custom.css in your child theme and NOT within the example code:

    /*
    .just_an_example {
    	color: black;
    }
    */

    Anything between /* and */ will NOT be executed.

    #45881
    @ericreynolds

    Thanks TJ. However, all of my custom css falls below the header comments. 🙂 Eric

    #45957
    @vapvarun

    Hi @ericreynolds,

    Please send me your login details , i will check them.
    Regards
    Varun Dubey

    #46161
    @vapvarun

    Hi @ericreynolds
    I have added a new plugin simple css, you can easily add any futher css there without editing any theme files
    wp-admin/themes.php?page=simple-custom-css.php
    Regards
    Varun Dubey

    #46170
    @ericreynolds

    Thank you Varun. Should I move my custom css from the custom.css file? 🙂 Eric

    #46183
    @vapvarun

    yes , you can keep all custom work at single place.
    I will close this topic, please feel free to create new topics for any further issues
    Regards
    Varun Dubey

Viewing 9 posts - 1 through 9 (of 9 total)
  • The question ‘Editing buddyboss.css’ is closed to new replies.