• Resolved johnzoro

    (@johnzoro)


    .optinfrontpage {
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 30px;
    padding-bottom; 30px;
    color: #FFFFFF;
    background-color: #ff9933;
    background-image: url(“wp-content/uploads/2016/03/floor-1256804_1920.jpg”);
    }

    h1.optinfrontpage {
    font-size: 30px;
    }

    does this look wrong to you?

Viewing 1 replies (of 1 total)
  • stephencottontail

    (@stephencottontail)

    In .optinfrontpage {}, you could use the padding shorthand to make it easier to read:

    .optinfrontpage {
      padding: 30px;
      ... rest of code snipped for clarity ...
    }

    There’s a chance that h1.optinfrontpage {} isn’t correct; what you’ve got now means “any <h1> tag that has the class ‘optinfrontpage'” Can you post a link to your website instead of just a snippet of code?

Viewing 1 replies (of 1 total)
  • The topic ‘css’ is closed to new replies.