This topic has 19 replies, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #136496
     excellins
    Participant

    hello, by default my header logo url points to mysite.com please how do i change it to mysite.com/activity? any code to add to the functions.php on child theme will do, or any suggested ideas. Thanks 7th queen

    #136561
     Radu
    Moderator

    Hi,

    There is no quick code for the functions.php file

    But you will have to copy this file : /wp-content/themes/kleo/page-parts/general-header-section.php to /wp-content/themes/kleo-child/page-parts/general-header-section.php then in this location you will have to open the general-header-section.php from child and around line 152 replace the highlited code with your address

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #136573
     excellins
    Participant

    Hey Radu.. this worked perfectly.. thank you. please i have one more question. Is there a way i can make the styling of “buddypress activity privacy” to match that of the theme? others have blue border it is the only one that has white.. can it be same as others, please? Thanks for your help.

    #136608
     excellins
    Participant

    Hi Radu, hope your day is going fine. this is an image of what i mean. you notice the privACY ICON LOOK ODD, CAn i be styled like the others having blue border and dark background so it will all look the same? it has a white border and doesn look same. Thanks Radu

    Attachments:
    You must be logged in to view attached files.
    #136623
     Radu
    Moderator

    Hi,

    use these selectors and replace red with your desired color

    COPY CODE
    
    #buddypress form#whats-new-form #whats-new-options select {
        border: 1px solid red;
    }
    
    .customSelect.customSelect { bordeR:1px solid red !important; }
    

    Cheers
    R.

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

    Wohooo! Hey Radu it worked .. thank you. please also one more thing. please dont get angry. just this last question….the activity privacy icon is at the right hand side of the “whats new form” is there a way to make it remain fixed there without moving? now when i load my website, the icon isnt in a fixed position it first. in the firs image i sent you see the “anyone selector” is close to the “profile selector” then in the “image 2” you see it becomes normal after the page is fully loaded which is good. is there a way to make it remain at the fixed position like image “2” so that even during page loading it remains fixed rather than going close to “profile form” and back again? if you need login details let me know. Thank you Radu.

    Attachments:
    You must be logged in to view attached files.
    #136770
     Radu
    Moderator

    Hi,

    use this css to have that inline

    COPY CODE
    
    
    #buddypress form#whats-new-form #whats-new-submit {
        display: inline-flex;
    }
    
    

    And use this css to improve the design while loading, add this into wp-admin -> theme options -> general settings -> quick css at the top

    COPY CODE
    
    
    select#activity-privacy {
        opacity: 0 !important;
    }
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #136772
     excellins
    Participant

    iT WORKED! thank you Radu, I am not a web programmer but with your help i have been able to do something good. Thank you so much. I am grateful. God bless you.

    #136809
     Radu
    Moderator

    You’re welcome !!

    God bless you to !

    Have a nice week

    Cheers
    R.

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

    Hey Radu good evening,… please i discovered a small issue. after using the code;
    select#activity-privacy {
    opacity: 0 !important;
    }
    everything works fine, as seen in image one, but when i change the “post in” to a different path like a group the activity privacy button is not seen anymore but when i click on the empty space it shows me the privacy features, meaning that it is there but invisible. Anything i can do about it? Thanks Radu. hope your week went well

    Attachments:
    You must be logged in to view attached files.
    #137183
     Radu
    Moderator

    Hi,

    I’m able to view that button in all activities, groups, profile and sitewide… empty your caches

    Cheers
    R.

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

    Hey Radu yes i can view the button also in all activities, but when on site wide activity, but under “whats new” there is another button “post in” when i click post in and change it to eg a group the button dissapears. did you try that? thanks

    #137323
     Radu
    Moderator

    Unable to reproduce that…sorry

    Cheers
    R.

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

    Ok Radu thanks. also i will like to remove new member updates (that is to remove it from showing in the activity) “user is now a registered member”, and new friendsip up date “user is now friends with” and new avatar change or cover change update from showing on activity stream… already i have this tutorial; https://premium.wpmudev.org/blog/how-to-customize-the-buddypress-activity-loop/;
    but i dont know how to use it even though i tried. i am only used to adding code to functions.php. Please can you help me explain better how to do this? i dont understand the tutorial they gave. Thanks Radu

    #137645
     Radu
    Moderator

    Hi if you want to manipulate the activity loop, this is the responsible file for activity loop /wp-content/themes/kleo/buddypress/activity/activity-loop.php

    Copy this file in child to have it over the theme update wp-content/themes/kleo-child/buddypress/activity

    Cheers
    R.

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

    Hi if you want to manipulate the activity loop, this is the responsible file for activity loop /wp-content/themes/kleo/buddypress/activity/activity-loop.php

    Copy this file in child to have it over the theme update wp-content/themes/kleo-child/buddypress/activity

    Cheers
    R.

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

    Hey Radu, please i am sorry for disturbing much. i promise i wont add again to this thread after this, its just i need to speak with you directly thats why. please. Its concerning buddypress activity privacy… can i style make the privacy button close to the “post update” button so that it alone will use the default theme css? by default it is like image “1” but i want it to be like image “2”. and i want the changes to affect only the privacy button alone close to the “post update” button. Thanks Radu, please sorry for bothering you.

    Attachments:
    You must be logged in to view attached files.
    #138305
     Radu
    Moderator

    Hi,

    Ok use this CSS, for the rest of customizations do it yourself because these kind of services are not included in support plan

    COPY CODE
    
    #buddypress form#whats-new-form  .customSelect.customSelect {
        border-radius: 3px !important;
        margin-right:10px;
        padding:4px 10px;
    
    }
    

    Cheers
    R.

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

    Thank you so much. i appreciate your kindness, it worked. thanks

    #138336
     Radu
    Moderator

    You’re welcome

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 20 posts - 1 through 20 (of 20 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?