This topic has 8 replies, 3 voices, and was last updated 11 years by SQadmin.

  • Author
  • #1948
     st
    Participant

    After scrolling down in a small browser window the WordPress admin toolbar blocks the navigation toolbar.

    #1957
     SQadmin
    Keymaster

    Hi,
    You can disable the admin bar from WP Admin -> Sweetdate -> Miscellaneous -> Admin toolbar -> Off

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

    I want to leave the admin bar on. Can you please add a margin-top to .top-bar so that it won’t overlap?

    jQuery(‘.top-bar’).css(‘margin-top’, ’28px’);

    or

    jQuery(‘.top-bar’).css(‘margin-top’, jQuery(‘#wpadminbar’).height());

    #1985
     SQadmin
    Keymaster

    Hi,
    You can add the equivalent css to Sweetdate -> Styling options -> Quick css and it will override it’s original value:

    COPY CODE
    
    .top-bar { margin-top: 28px; }
    

    We will include this in an update so it will automatically generate if the toolbar is on.
    Thanks for pointing this out.

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

    I was having the same issue. I put that into my quick css but am still having the issue. Here is what is in my quick css:

    .fixed.log-entries {position:static;}
    .top-bar { margin-top: 28px; }

    Am I doing something wrong?

    #4131
     Josiah
    Participant

    Adding !important moved the text down but not the shaded background.

    .top-bar {margin-top: 28px !important;}

    #4218
     SQadmin
    Keymaster

    Hi,
    This is the correct css to add and it will also be included in next update:

    COPY CODE
    
    .admin-bar .sticky.fixed {margin-top: 28px;}
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4222
     Josiah
    Participant

    That worked while on Home and Blog pages but it is not working in Activity or the groups/members directory.

    #4274
     SQadmin
    Keymaster

    Hi, We fixed it with some custom code added and it will be available in a few days in v.2.2 update. Seems that on buddypress pages admin-bar class isn’t added by default to body element

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

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?