• Hi, i love your plugin and have just one styling question. Is there an easy way to style the following classes:

    <div class=”asl_content”>
    div.asl_r .results .item .asl_content

    <p class=”asl_desc”>
    div.asl_r .results .item .asl_content .asl_desc {

    I tried to use the “additional CSS field” but that didn’t work as expected. So i’m using style.basic.css at the moment – and that is not a good idea…

    I use your plugin on my 404 page…

    Hope you can help – thank you
    Rainer

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Well, you should definitely use the additional CSS field for using custom CSS. Either the one on our plugin options, or use your theme custom CSS field – it should not matter.

    If the custom CSS didn’t work, then the issue is probaby the custom CSS itself. The plugin uses highly specific CSS rules, so they don’t get easily overwritten by basic styles. If you define some custom rules, try the !important modifier as well, to make sure they are effective.
    Let me know what custom CSS you have and I will take a look if you want to.

    Best,
    Ernest M.

    Thread Starter neubi

    (@neubi)

    Hi Ernest,
    thanks for your support. It woul be great if you can take a look. Because i’m not the CSS specialist… Here are the custom CSS rule i’m using in your Plugin:

    #ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    font-family: "Raleway", Sans-serif !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    }
    #ajaxsearchliteres1 .asl_r .results .item .asl_content h3, div.asl_r .results .item .asl_content h3 a {
    font-family: "Raleway", Sans-serif !important;
    font-size: 20px !important;
    font-weight: 300 !important;
    padding: 14px 3px 17px 10px;
    }

    I have tried to add additional CSS for the two classes mentioned above – some extra padding and font sizes in the result list – but that didn’t work. Here is what i added:

    .asl_content {
        overflow: hidden;
        height: auto;
        background: transparent;
        margin: 0;
        padding: 3px 3px 3px 3px;
    }
    .asl_desc {
        margin-top: 5px;
        font-size: 14px;
        line-height: 18px;
        padding: 7px 10px 10px 88px;
    }

    Bye – Rainer

    Thread Starter neubi

    (@neubi)

    Hi Ernest,

    i think i’ve solved it. After some trial and error i finally found the correct CSS rules for my styling problem. Thank you again for your help – it showed me the right way.

    Best
    Rainer

    Plugin Author wpdreams

    (@wpdreams)

    That is great ??

    I will mark this as resolved then.

    Feel free to rate the plugin if you like it, it is greatly appreciated.

    Best,
    Ernest M.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Styling Question’ is closed to new replies.