This topic has 4 replies, 2 voices, and was last updated 7 years by Laura.

  • Author
  • #160196
     BurstBoard
    Participant

    Hi,

    I want to enqueue a custom stylesheet to the page template that kleo is using for the buddypress profile and single member pages.

    Can you point me to the page template files that kleo is using for these pages so I can make a copy to edit as needed?

    Regards,

    #160212
     BurstBoard
    Participant

    Hi,

    Just wanted to add clarification, in my child theme:

    I want to modify the CSS of the “3rr” (3 Columns, 2 right sidebars) page template for specifically the buddypress profile and members pages while keeping the default “3rr” (3 Columns, 2 right sidebars) page template layout intact on the rest of the site.

    Normally, when using visual composer, I would simply make a copy of the template file in the same folder, rename it, modify it as necessary, select this template under the page attributes widget in visual composer, and enqueue the custom stylesheet as needed.

    I have done this already for this scenario and my new custom 3rr template file is visible in the page attributes widget on the backend of visual composer.

    However, using this approach, i cannot select my new custom 3rr template for my member/profile pages because it is not selected through visual composer and it does not automatically populate as one of the options under themeoptions/buddypress/Member Profile Layout in theme options where it is selected in kleo theme.

    Could you suggest a better way to accomplish the custom css for these pages specifially? maybe use another hook instead of if ( is_page_template?

    sorry for wall-o-text…

    Regards,

    #160287
     Laura
    Moderator

    Hello, you can use the css classes for those pages which are:
    .buddypress.bbp-user-page.single

    .directory

    So to add the css use

    COPY CODE
    
    .buddypress.bbp-user-page.single {
    // style here
    }
    .buddypress.bbp-user-page.single. {
    // style here
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #160335
     BurstBoard
    Participant

    Hi Laura,

    Thank you. I was able to accomplish my needed effect targeting,

    .page-id-0

    Which is shared across the bp pages I needed.

    Regards,
    Ben

    #160620
     Laura
    Moderator

    Glad you could resolve it! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?