-
Author
-
May 2, 2017 at 23:30 #160196BurstBoardParticipant
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,
May 3, 2017 at 01:56 #160212BurstBoardParticipantHi,
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,
May 3, 2017 at 20:53 #160287LauraModeratorHello, 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 solutionLaura 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 🙂
May 4, 2017 at 12:24 #160335BurstBoardParticipantHi 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,
BenMay 8, 2017 at 00:35 #160620LauraModeratorGlad 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 solutionLaura 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 🙂
-
AuthorPosts
You must be logged in to reply to this topic.