1

I have a WP where i want to change an element style.

This is what i have in console when i inspect with firebug:

<div class="et_pb_container clearfix" style="min-height: 400px;">

And then on the right in Styles i have

element.style {
min-height: 400px;
}

How can i change the element.style in the custom CSS editor?

I want min-height to be 550px;

When i try with

et_pb_container.clearfix{
min-height: 550px;
}

Nothing happens.....

Please advice.

0

2 Answers 2

4

Try this in your stylesheet:

.et_pb_container.clearfix[style] {
  min-height: 550px !important;
}
Sign up to request clarification or add additional context in comments.

Comments

0

Try:

.et_pb_container.clearfix{
    min-height: 550px !important;
}

Or change min-height in inline style:

<div class="et_pb_container clearfix" style="min-height: 550px;">

Inline styles usually take precedence over css stylesheets, unless you specify !important keyword.

http://css-tricks.com/override-inline-styles-with-css/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.