This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Custom CSS isn't working

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13900
    Amber AtkinsonAmber Atkinson
    Participant

    Hi Ernest,

    You provided me with some terrific css for my site however I’m still having trouble implementing the changes.

    I have tried pasting it individually in:
    AJAX search pro > theme options > custom CSS
    DIVI module > Advanced > custom CSS
    DIVI page settings > custom CSS

    I may have to add the css to the backend settings. When I was having a look through the plugin files I was a bit hesitant to start playing around.

    Can you please let me know where to add the CSS?

    Many thanks,
    Amber

    #13903
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Amber,

    The reason might be, that I believe I tailored those rules for one specific search instance, with the ID of 6, if I recall correctly.
    Below I will pase a universal version of them, should be affecting any of the search instances. For the full explanations please refer to this previous topic.

    Right-left layout, solution 1

    [html].wpdreams_asp_sc.searchsettings {
    max-width: 10000px !important;
    }

    .wpdreams_asp_sc.searchsettings form {
    justify-content: flex-end !important;
    }[/html]

    Right-left layout, solution 2

    [html].wpdreams_asp_sc.searchsettings {
    float: right !important;
    }[/html]

    Safari glow-effect select boxes

    [html].wpdreams_asp_sc.searchsettings form select {
    -webkit-appearance:none !important;
    }

    #page-container div.wpdreams_asp_sc.searchsettings form select,
    #page-container div.wpdreams_asp_sc.searchsettings form select {
    border: 1px solid #adadad !important;
    background: white !important;
    color: #424242 !important;
    max-width: 190px;
    float: right;
    }[/html]

    These should work now!

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