• Resolved WP_user

    (@starboxuser)


    Hi!
    Can you please add a settings option to set background colors for this plugin?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Contributor Calin Vingan

    (@calinvingan)

    Hi @starboxuser,

    Thank you for your suggestion.

    Normally the Author Box should have the same background as the Theme.

    But you can set the background color through CSS:

    .abh_tab_content{
      background-color: #f8f8f8;
    }

    Best, Calin

    Thread Starter WP_user

    (@starboxuser)

    Thank you! Where should I add this code?

    Plugin Contributor Calin Vingan

    (@calinvingan)

    You can add the code in the Custom CSS in your WordPress theme.

    Thread Starter WP_user

    (@starboxuser)

    Can you tell me the path plz?
    /sitename.com/docs/wp-content/themes/twentytwelve-child
    and then? What file?

    • This reply was modified 3 years, 1 month ago by WP_user.
    Thread Starter WP_user

    (@starboxuser)

    You can add the code in the Custom CSS in your WordPress theme.

    You used !important rule, so i have to use it too?

    • This reply was modified 3 years ago by WP_user.
    Plugin Contributor Calin Vingan

    (@calinvingan)

    Hi,

    You can add it to your child’s theme in the style.css file.
    Or, you can go to Appearance > Customize and the last option should be Custom CSS.

    Hope this helps.
    Calin

    Thread Starter WP_user

    (@starboxuser)

    Thank you!
    P.S. Is there a way not to use !important rule? I cannot use child’s theme style.css rules because of it.

    • This reply was modified 3 years ago by WP_user.
    Plugin Contributor Calin Vingan

    (@calinvingan)

    The !important option was added because of so many themes that were changing the author box layout.

    If you use the same class and add !important you can change the style.

    .abh_tab_content{
    background-color: #f8f8f8 !important;
    }

    Thread Starter WP_user

    (@starboxuser)

    Excuse me for wasting your time, but isn’t your class name unique? Is there a reason to use important for unique class?

    Plugin Contributor Calin Vingan

    (@calinvingan)

    The class is unique, the problem is that the CSS can be applied on a div too.

    There are themes that change all the divs globally.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Settings for colors’ is closed to new replies.