BuddyDev

Search

Customizing the widget

  • Participant
    Level: Initiated
    Posts: 3
    Chris on #51226

    Hello,
    I am having difficulty in finding the code/codes to add some padding to the widget so it won’t look like this:
    https://imgur.com/a/AR5DQGw
    and even out on the left side.

    Any ideas on what it is/how to do it?

    Thanks for the help,
    Chris

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2986
    Ravi on #51231

    Hello Chris,

    Welcome to the BuddyDev Forums. Please share your website link so that I can share the CSS rules.

    Regards
    Ravi

  • Participant
    Level: Initiated
    Posts: 3
    Chris on #51233

    Hiya Ravi,

    Unfortunately I am running on Local and have yet to deploy it online, is there an alternate way to get you the info you may need?

    Thanks,
    Chris

  • Participant
    Level: Initiated
    Posts: 3
    Chris on #51234

    And thank you for the welcome!

  • Keymaster
    (BuddyDev Team)
    Posts: 24257
    Brajesh Singh on #51241

    Hi Chris,
    No issues. Can you please tell us which theme are you using? Is it one of the sidebars offered by them theme or are you using any custom sidebar plugin.

    We can help with generic code(that targets all recent gallery widgets) or we can assist with code that targets the sidebar widget only.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 14
    Chris on #51244

    Hiya Brajesh,

    For whatever reason Bitwarden didn’t save my login and the requesting forgotten password did not work. Apologies for the double account.

    I am using the BuddyX theme and it is a (MediaPress) Galleries List widget.

    Thank you,
    Chris

  • Keymaster
    (BuddyDev Team)
    Posts: 24257
    Brajesh Singh on #51247

    Hi Chris,
    I am sorry for the trouble. I can assist with the password change(please check spam mails too for email).

    Will post the css in a couple of hours today.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 14
    Chris on #51254

    Hello Brajesh,

    Sure! I tried requesting a password reset again and have not received anything in my inbox or spam folder.

    Awesome, thank you; it is just to center that block’s text and image if fine (and to use the default font used everywhere else on my site and not sure why not in that block)

    Appreciate it!
    Chris

  • Keymaster
    (BuddyDev Team)
    Posts: 24257
    Brajesh Singh on #51274

    Hi Chris,
    Hope you are doing well.

    Please add the following css

    
    .widget .mpp-gallery-entry { text-align: center !important;}
    

    If that does not work for centering, Please inspect the css, there must be something overriding it.

    PS:- Centering is the default behaviour for widget/entries in MediaPress. Since that is not happening, my assumption is your theme/template pack is overriding it. The above fix should work in most of the cases.

    I am not sure about the font. We don’t apply any custom font.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved