Keyword

[SOLVED] h3 header for extra field CSS

  • quebecguitare
  • quebecguitare's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #144715 by quebecguitare
h3 header for extra field CSS was created by quebecguitare
Hello, I am trying to aligh center this header but I can't do it.

This is what I got:

.itemExtraFields h3 {
padding: 5px 41px 5px;
font-size: 14px;
color: #fff;
background-color: #1dbaf4;
align-self: center;
border-radius: 3px;
}

Link: www.quebecguitare.ca/professeurs/montreal/emilie
(See "Informations Supplémentaires")

I think it's a mistake to use both padding and aligh-self. Any better solutions?
Thank you

Regards

Thank you for your time!

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #144719 by Joe Campbell
Replied by Joe Campbell on topic h3 header for extra field CSS
Hello,

Modify your CSS to the following:

.itemExtraFields h3 {
padding: 5px 0;
font-size: 14px;
color: #fff;
background-color: #1dbaf4;
text-align: center;
border-radius: 3px;
}

I hope this helps,

Joe Campbell

Please Log in or Create an account to join the conversation.

  • quebecguitare
  • quebecguitare's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #144749 by quebecguitare
Replied by quebecguitare on topic h3 header for extra field CSS
Thanks Joe!

Best Regards

Thank you for your time!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum