• Hello,

    I am using a premium theme and the Contact Form 7 plugin. I created a form and it looks better when I place it inside the blockquote tags, but when I do that, my text turns to italic.

    I found this (code below) in my theme stylesheet which I believe is the culprit. I am not that familiar with CSS so I am hoping someone might help me fix this minor issue. I’d like to continue to use the blockquote tag in my contact form (or something else for the same desired effect) while also keeping my text normal. (not italicized)

    .entry blockquote {
    padding: 10px;
    border: 1px solid #ddd;
    color:#000;
    width:85%;
    background-color: #f7f7f7;
    font-style: italic;
    margin:5px auto 15px;

    Appreciate any and all thoughts on a solution. Thanks.

    Selym

Viewing 1 replies (of 1 total)
  • Please don’t place a form in blockquote tags because it “looks better”. The blockquote tag (as the name suggests) is for quotes – not forms. Misusing tags could mean that your pages will display in an unpredictable manner in some user agents/browsers.

    Instead, adding the following to the bottom of your stylesheet:

    .entry form {
    padding: 10px;
    border: 1px solid #ddd;
    color:#000;
    width:85%;
    background-color: #f7f7f7;
    margin:5px auto 15px;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘CSS Question’ is closed to new replies.