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

  • Author
  • #110442
     tmh23
    Participant

    I have buddypress working great and formatted nicely on desktop but I can’t figure out how to fix the weird formatting that is happening on mobile/small screen.  How can I get rid of the huge gaps that are happening.  I’ve attached a screenshot to show you how I’d like the content moved over.  It will really make the activity wall nice on mobile.

    Thanks,

    Troy

     

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

    Hi,

    Please provide an account to can see the activity

    Cheers

    Radu

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

    You can view the activity without an account.

    http://www.parttimegolf.com/activity

    #110740
     Radu
    Moderator

    Hi,

    This is a part of css

    COPY CODE
    
    @media only screen and (max-width: 600px) {
    
    #buddypress .activity-header {
        margin: 0 !important;
    }
    .activity-avatar.rounded {
        margin-right: 20px;
    }
    
    }
    

    But i need access to wp-admin and FTP cuz some css that are in quick css and kleo child overwrites the new rules

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #110760
     tmh23
    Participant
    This reply has been set as private.
    #110775
     tmh23
    Participant

    Also noticed another format thing that happened when I updated the theme and packaged plugins. I’ve attached a screen shot.

    Troy

    Attachments:
    You must be logged in to view attached files.
    #110838
     tmh23
    Participant

    That CSS worked great for the activity header. Thanks.
    Still hoping to move the post content down and over to use up the blank space.
    Attached a screen shot.

    Also… I notice now that the contact link is not showing on small screen/mobile?

    Troy

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

    Hi,

    It’s done but please remove this from wp-admin -> theme options -> general settings -> quick css

    COPY CODE
    
    #buddypress .activity-list .activity-content {
        margin: 0 0 0 100px !important;
    }
    

    For the line from activity just add this css

    COPY CODE
    
    #buddypress .activity-timeline {left:45px}
    

    Cheers

    Radu

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

    So I am removing the first line of code above?
    Where am I putting the second line??

    I’m a little confused. Sorry..

    #111045
     Radu
    Moderator

    Hi,

    Yes remove this

    COPY CODE
    
    #buddypress .activity-list .activity-content {
        margin: 0 0 0 100px !important;
    }
    

    Then ad the end of the css file add this

    COPY CODE
    
    #buddypress .activity-timeline {left:45px}
    

    Cheers

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

    I got it it right! Works perfectly! You’re a genius.
    I tried to add padding below the avatar so the text content of the post was spaced a little down but couldn’t get it to work. Where should I add padding to the bottom of the avatar?

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

    Hi,

    Use this

    COPY CODE
    
    #buddypress .activity-list .activity-content .activity-inner, #buddypress .activity-list .activity-content blockquote {
        margin-top: 20px !important;
    }
    

    Replace 20px with your desired value

    Cheers

    Radu

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

    Great…. This works… however the small text that tells when the post was posted is wrapping the word ‘ago’ even though there is plenty of space for it. This is then spacing the distance to much. How can I keep the ‘ago’ from wrapping of small screens.

    I’ve attached a screen shot.

    Troy

    Attachments:
    You must be logged in to view attached files.
    #111347
     tmh23
    Participant

    Radu,

    Actually I see that the above code isn’t working to space it down. The space is actually happening with the word wrap of ‘ago’ as mentioned above. Perhaps you have a solution.

    Thanks,
    Troy

    #111490
     Radu
    Moderator

    Hi

    Use this

    COPY CODE
    
    @media(max-width:700px){
    
    #buddypress .activity-header p a:last-child {
        margin-right: 25% !important;
        }
    
    }
    
    

    Cheers

    Radu

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

    Thanks. That worked perfectly!!

    Troy

    #112001
     Radu
    Moderator

    Good

    Have a nice week

    Cheers

    Radu

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

    Hi Radu,

    I opened this ticket back up as I noticed one other thing with the formatting and perhaps others can benefit.

    The above code worked great and things are formatting perfectly, however I noticed when commenting on a post in the activity both on desktop and mobile the comment post is formatting weird.  I’ve attached screen shots.

    Perhaps you can help with similar css?

    Thanks,

    Troy

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

    HI,

    I need an account to comment

    Cheers

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

    You can create one free.  Go to Join Now and choose the Tee Box Membership.  Its FREE.

     

    Troy

     

    #113095
     Radu
    Moderator

    Please provide a ready account please!
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #113166
     tmh23
    Participant
    This reply has been set as private.
    #113251
     Radu
    Moderator

    Hi,

    Please use this css

    COPY CODE
    
    #buddypress div.activity-comments ul li .acomment-content {
        margin-top: 25px;
    }
    

    Cheers

    Radu

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

    I see that this works for small screen and mobile but on a desktop browser window the issue is still there.

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

    Hi

    The css rule it applies on both cases mobile and desktop,

    Add the css with !important declaration

    COPY CODE
    #buddypress div.activity-comments ul li .acomment-content {
        margin-top: 25px !important;
    }

    Cheers

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

    This is what I am still seeing for scaled screen and full screen with Firefox and Chrome browsers.
    Is there something that is not letting the above CSS work?

    Troy

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

    Hi,

    I think your have a media rule unclosed (see attachment)

    Cheers
    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #113871
     tmh23
    Participant

    I’m not that familiar with coding… do I need to just remove this or do I need to add another one somewhere?
    Haha! Sorry, I’m a rookie.

    Troy

    #114089
     Radu
    Moderator

    Ok,

    Check the attached screenshot

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #114149
     tmh23
    Participant

    That seemed to work great!

    Thank you again for great support.

    Troy

    #114429
     Radu
    Moderator

    You’re welcome.

    Thank you for the kind words

    Cheers

    Radu

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

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

Log in with your credentials

Forgot your details?