Skip to:
Content
Pages
Categories
Search
Top
Bottom

Editing custom.css in the bphome theme is not working for me

  • @jonperry

    Participant

    MU Version 2.7.1

    BP Version 1.0.1

    I am trying to redo the look of my bp site by editing the file “custom-sample.css” located at www/wp-content/themes/bphome/css/

    I have changed its name to custom.css and added the following css:

    #search-login-bar {

    border-top: 10px solid #660000;

    background: #990000;

    padding: 7px 20px;

    }

    This should turn the orange header red but it’s not working. When I save this file in the directory www/wp-content/bpthemes/bpmember/css it works but only on the member pages, not on the home page and not on the blog.

    Why is it working in the bpmember area but not in the home page theme area? Is there a glitch or am I doing something wrong?

    If I edit the site-wide.css code it works but then it screws up my other custom themes so that’s not an option.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @talk2manoj

    Participant

    Uncomment the following line in at wp-content/themes/bphome/style.css

    @import url(css/custom.css);

    @kunal17

    Participant

    What is the difference between custom.css & sitewide.css?

    @talk2manoj

    Participant

    Please refer to these notes in style.css

    /***
    * Rename /css/custom-sample.css to /css/custom.css and uncomment the following line to load your own
    * custom styles without modifying the originals (this will preserve your changes across theme updates)
    *
    * @import url(css/custom.css);
    */

    /***
    * NOTE: If you rename /css/site-wide-sample.css to /css/site-wide.css you can apply CSS styles to any
    * theme that is in use across your whole site. This includes any blog or member theme. You do not
    * need to add an @import declaration in this file, it will load automaticaly.
    */

    @kunal17

    Participant

    So site-wide.css will modify the member & home theme at the same time. Thanks!

    @jonperry

    Participant

    Thanks for the help, that’s what just what I needed Manoj Kumar

    Kunal17, the site-wide.css will add your css to all themes used on your site. This is great if you want a universal look from the home page to each individual blog but if you want your users to be able to use their own themes for blogs then this is not the way to go. Instead you need to do as Im doing and edit the bphome css as well as the bpmembers css.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Editing custom.css in the bphome theme is not working for me’ is closed to new replies.
Skip to toolbar