Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    The page’s <body> has page-id-4983 class so you can use body.page-id-4983 to specify the ancestor node in CSS stylesheet.

    Thread Starter Leftdesign

    (@leftdesign)

    thank you very much Miyoshi sensei,

    the term ancestor node was new to me so thank you very much for that alone. my theme has an option to enter custom css into a backend field without using a child theme. i use this field for my overrides, i entered this so far:

    .page-id-4983 input[type="submit"] {
        background-color: #094e91;
        background-image: -moz-linear-gradient(center top , #000000, #094e91);
        background-image: -webkit-linear-gradient(top, #000000, #094e91);
        background-image: -ms-linear-gradient(top, #000000, #094e91)
        background-image: -o-linear-gradient(top, #000000, #094e91)
        background-image: linear-gradient(top, #000000, #094e91)
        border-color: #003d80;
        color: #b3f8ff;
        text-shadow: 0 -1px rgba(0, 0, 0, 0.33);
    }

    this has given me control over the button colors in FF and Chrome but not in IE, and ideas on what i’m doing wrong?

    with regards,

    Oliver

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘submit button css override on 1 page out of many’ is closed to new replies.