This topic has 14 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #187080
     monsurc1
    Participant

    Hi,

    When one clicks on the input field on the activity box, it expands with the “post update” button. I can see there is an inline style of height 50px.

    Is it possible to make it content-fit while it expands?

    Thank YOU.

    #187107
     Kieran_SQ
    Moderator

    Hi,

    Thanks for reaching out to support, I am not entirely sure what you mean by “make it content-fit while it expands”?

    Can you please provide more information on what you’re trying to achieve so I may assist you better.

    Thanks,

    Kieran.

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187126
     monsurc1
    Participant

    Hi Kieran_SQ,

    Thanks for quick reply.

    I am trying to explain with pics. Pic1 shows normal activity input box. but when I see it in mobile phone view it shows scroll bars (pic 2).I would like it to have without the scroll bars.

    Thanks again.

    Attachments:
    You must be logged in to view attached files.
    #187133
     Kieran_SQ
    Moderator

    Hi,

    I see now, as you’re using an unsupported media plugin for BuddyPress I will need access to your site to see the exact styling issue and to provide a solution for you.

    Please can you update this ticket, in a private reply, with login credentials for you site as well as the link to the activity page where the issue exists.

    Thanks,

    Kieran.

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187154
     monsurc1
    Participant
    This reply has been set as private.
    #187157
     Kieran_SQ
    Moderator

    Hi,

    Please try the below CSS in your BuddyApp Child theme’s style.css

    Show all content within post update options area without scroll bars

    COPY CODE
    @media screen and (max-width: 600px) {
    #buddypress #whats-new-form #whats-new-options {height: auto !important;}
    }

    Or with optional CSS to tidy up the icons area from the third party plugin

    COPY CODE
    @media screen and (max-width: 600px) {
    #buddypress #whats-new-form #whats-new-options {height: auto !important;}
    .mpp-upload-buttons {margin-top: 0;padding-right: 0px;float: unset;margin-left: auto;margin-right: auto;}
    .mpp-upload-buttons a, .entry-content .mpp-upload-buttons a {padding-right: 5px;}
    }

    Thanks,

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187284
     monsurc1
    Participant

    Hi Kieran_SQ,

    Thanks for the css solution. But I did not want that. I was wanted when the text box is clicked, it expanded to show the send option.Yes?

    I think you need to change some code from the JS , where an inline ‘active’ styling is working. You can find this using browser’s developer tool.

    I tried to find the JS file and the appropriate code but could not figure it.

    Thank you again for your assistance and look forward to hearing from you soon.

    #187301
     Kieran_SQ
    Moderator

    Hi,

    I will assign this ticket to a developer for review. They’ll be in touch as soon as they can, Monday to Friday, East European Time.

    Thanks,

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #187365
     Radu
    Moderator

    Hi,

    Just use this css to compact all buttons into one line like…

    CODE:

    COPY CODE
    
    @media(max-width:600px) {
        #buddypress #whats-new-form #whats-new-options #whats-new-submit span{text-align:center !important;margin: 0 auto !important;display: table;}
    
        #buddypress #whats-new-form #whats-new-options #whats-new-submit>input {
            display: block;
        }
    
        div#whats-new-options {
            height: 70px !important;
        }
    
        div#whats-new-options .mpp-upload-buttons {
            height: 90px !important;
            padding: 15px 0;
        }
    
    }
    

    That css will make to look like this after you click on the text area.

    Cheers
    R.

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

    Hi Radu,

    Thank you for this solution, but I was not looking this solution , similar solution was given by MODERATOR Kieran_SQ.

    The css code is showing everything and it is not collapsing or expanding as it was before.
    I believe there is an inline ‘active’ styling is working where once the text box is clicked it goes active to make the css style prompted. You can find this using browser’s developer tool.

    Basically I wanted themes normal behaviour with the text box in 600px/less screen sizes(without scrollbars).

    I look forward to hearing from you soon
    Thank you again.

    #188123
     Radu
    Moderator

    Hi,
    I think we have changed that in the past, but if you need a animation like that use the next CSS

    COPY CODE
    
    #buddypress form#whats-new-form #whats-new-content {
        max-height: 74px!important;
         -webkit-transition: max-height 1s; 
      -moz-transition: max-height 1s; 
      -ms-transition: max-height 1s; 
      -o-transition: max-height 1s; 
      transition: max-height 1s;  
    }
    #buddypress form#whats-new-form #whats-new-content.active {
     -webkit-transition: max-height 1s; 
      -moz-transition: max-height 1s; 
      -ms-transition: max-height 1s; 
      -o-transition: max-height 1s; 
      transition: max-height 1s;  
      overflow: hidden;
      max-height: 274px !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
    #188160
     monsurc1
    Participant

    Hi Radu,

    Thank you for the code but still I could not see the result I wanted. The behaviour of the animation is OK, I do not like to remove that . But that box which opened due to click on the text box(or, activity box) still got the scroll bars that bothering me. I wanted assistance for this problem.

    I was looking for your help to make the box(with post update button and etc. with that) without the scroll bars keeping the animation.

    I think I clear myself, if you still doubt please let me know.

    Thanks

    #188218
     Radu
    Moderator

    Hi,

    Apply this CSS then let me know

    COPY CODE
    
    @media(max-width:768px) {
        div#whats-new-options > div {display: table;}
    
        span#activity-visibility {
            display: block;
        }
    
        #buddypress #whats-new-form .active #whats-new-options {
            height: 80px !important;
            vertical-align: middle;
        }
    
        #buddypress #whats-new-form #whats-new-options #whats-new-submit {
            text-align: center;
        }
    }
    
    

    Cheers
    R.

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

    Hi Radu,

    It worked.

    Many Many Thanks.

    #188427
     Radu
    Moderator

    Great
    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 15 posts - 1 through 15 (of 15 total)

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

Log in with your credentials

Forgot your details?