-1

So far everything has worked alright with !important, but I can't seem to be able to change the bottom margin of a H5 title. On this link http://soniromanov.com/pricing/ the plans Basic, Deluxe and Premium have an annoying bottom margin of 30px. I've tried with:

.pricing-title h5 { margin-bottom: 0px !important; }

But that doesn't fix it, sorry for my limited knowledge on CSS, please help if possible.

  • The page has some kind of (copy protection?) feature that makes using normal inspection tools impossible. I get a "function disabled" dialogue whenever I try to right-click on an element. – CK MacLeod Jan 19 '17 at 18:07
  • Sorry buddy, you should be able to right-click now. – Soni Romanov Jan 19 '17 at 18:25
0

They are using a more specific identifier in the theme on the homepage.

try this one:

.be-section .be-row:not(:last-child) .column-block h5:last-child {
    margin-bottom: 10px !important;
}

you can change the margin to whatever you want, of course.

okay try this:

#main .be-section .be-row:not(:last-child) .column-block h5:last-child {
    margin-bottom: 5px !important;
}
  • Tried it, didn't work again. The site is running with this included in the child theme. I'm ready to give up on this until the author fixes it. – Soni Romanov Jan 22 '17 at 19:48
  • is there anything else in the child theme stylesheet? put this code at the end. are you sure you have no other errors in your stylesheet that would stop this from posting? – rudtek Jan 22 '17 at 20:04
  • This is the style.css I have in the child theme pastebin.com/7nwTVBdr , the code that was recommended is last. – Soni Romanov Jan 22 '17 at 20:20
  • yeah, they definitely didn't enqueue correctly. Try the 2nd code above. I've made it more specific, so it should override. – rudtek Jan 22 '17 at 20:33
  • You are a savior, after all this days being annoyed by a bottom margin. Can't thank you enough. – Soni Romanov Jan 22 '17 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.