Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #925215

    Hi, how can I make the text in the contact form only on this page be the default color instead of white?

    #925292

    Hey DROR,
    In your custom css or quick css you have this code:

    ::-webkit-input-placeholder {
      color: #ffffff !important;;
    }
    ::-moz-placeholder { 
      color: #ffffff !important;;
    }
    :-ms-input-placeholder { 
      color: #ffffff !important;;
    }
    :-moz-placeholder { 
      color: #ffffff !important;;
    }

    which is making all the placeholders on your site white, since it is using the !important; rule we can’t override it. The best option is to change it to only target the placeholders that you did want white, then the placeholder on this page will go back to the default color.
    What page did you want the placeholders to be white?
    Also notice how each line has two ; at the end? When we change the code we need to make it only have one ; at the end.

    Best regards,
    Mike

    #925302

    Hi Mike, I removed that code but now I need to make the contact form on other pages to be white – https://screencast.com/t/7L9GAQ0Ns – how can I do that so it will only effect this page?

    Thanks.

    #925470

    Hi,

    If majority of your forms should be using a white placeholder text except a page or some pages, you can add your code back and add additional css code to override it on specific pages, you can use this code:

    ::-webkit-input-placeholder {
      color: #ffffff !important;;
    }
    ::-moz-placeholder { 
      color: #ffffff !important;;
    }
    :-ms-input-placeholder { 
      color: #ffffff !important;;
    }
    :-moz-placeholder { 
      color: #ffffff !important;;
    }
    
    .page-id-xx ::-webkit-input-placeholder {
      color: #333333 !important;;
    }
    .page-id-xx ::-moz-placeholder { 
      color: #333333 !important;;
    }
    .page-id-xx :-ms-input-placeholder { 
      color: #333333 !important;;
    }
    .page-id-xx :-moz-placeholder { 
      color: #333333 !important;;
    }

    just replace xx with the page id number. Hope it helps :)

    Best regards,
    Nikko

    #925591

    Thanks! Something is OFF with the alignment of the form – https://screencast.com/t/W9DTw4FhI

    How can I fix this?

    #925620

    Hi bakbek,

    You’re welcome, try adding this css code in Quick CSS:

    
    #top .avia_ajax_form #element_avia_3_1.form_element_third {
        margin-left: 0;
    }
    
    #top .avia_ajax_form .form_element_third {
        width: 32%;
    }

    Let us know if this helps.

    Best regards,
    Nikko

    #927411
    #927619

    Hi,

    Thank you @Guenni007 for help out as always :)


    @bakbek
    Let us know if you have more question, we are happy to help!

    Best regards,
    Vinay

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.