Your Time:
Our Time:
← Back to discussions

Centering business hours in Business hours pro

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 14 replies, 5 voices, and was last updated 8 years ago by Fem.

  • 2017-07-11 at 8:50 am
    Support Expired
    #21187
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12

    What would the custom css be to center the entire div, not just the hours?
    Sorry if this has been answered but there is no search function to search the forum.

    2017-07-11 at 12:09 pm
    #21188
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    At present, the concept to centre the entire div is not present and right now the divisions are divided in to percentage based. So, need to change the entire divisions.
    We’ll implement this concept in future updates.

    2017-08-04 at 2:20 am
    Support Expired
    #21384
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12

    How would you suggest centering then? It looks horrible.

    2017-08-04 at 11:01 am
    #21385
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    If you share the screenshot then we can help you out in centering the entire div. You can use custom CSS. Might be the support team is not clear with your question as you didn’t share the screenshot of how you want to populate the layout.

    2017-08-08 at 3:21 am
    Support Expired
    #21410
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12
    This reply has been marked as private.
    2017-08-09 at 12:04 pm
    #21417
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    Add this custom CSS into your custom CSS section area. This solves your solutions.

    .widget_text .iva_bh_shortcode span.days,
    .ivabh-businesshours span.days {
        width: 100%;
        display: block;
        float: none;
        text-align: center;
        vertical-align: middle;
    }
    .widget_text .ivabh-businesshours span.hours,
    .ivabh-businesshours span.hours {
        width: 100%;
        display: block;
        float: none;
        text-align: center;
    }
    
    

    Regards,
    Wajid Khan

    2017-08-18 at 9:08 pm
    Support Expired
    #21482
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12
    This reply has been marked as private.
    2017-08-19 at 7:29 am
    Support Expired
    #21484
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12
    This reply has been marked as private.
    2017-08-19 at 1:56 pm
    #21485
    Wajid Khan
    Keymaster
    • Topics: 5
    • Replies: 1543
    • Total posts: 1548
    • Post count: 1876

    If you can provide us WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as a private reply so that only admin can see your wp-logins.
    Note: Before providing the wp-logins to any support staff, kindly please make sure you take a backup of everything including WordPress content, theme options, widgets etc.

    2017-08-19 at 1:58 pm
    #21486
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    I see it’s a theme issue which is adding the inline width to the widget, but no worries if you can provide us the logins we can make a fix for you.

    2017-08-23 at 2:11 am
    Support Expired
    #21511
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12
    This reply has been marked as private.
    2017-08-23 at 7:42 pm
    #21516
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    We have made a fix for you. I see that you have added a fixed width for that business hours shortcode so i made a changes in the css in the same page by setting the following value and its working fine now. If you want to use on another page use this custom css

    .iva_bh_shortcode { margin: 0 auto !important; }

    • This reply was modified 9 years ago by Fem.
    • This reply was modified 9 years ago by Fem.
    2017-08-24 at 2:29 am
    Support Expired
    #21521
    mateobt
    Participant
    • Topics: 2
    • Replies: 12
    • Total posts: 14
    • Post count: 12
    This reply has been marked as private.
    2017-08-24 at 11:53 am
    #21524
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Something is wrong with an email I think. We will look into this soon.

    2018-09-10 at 11:17 am
    #24183
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Due to no response from the last message, we assume the problem is resolved and we consider closing this topic. If you have any further queries related to the same question then please re-open post your question here instead of opening a new topic.

You must be logged in to reply to this topic.