• Hi, nice plugin, thanks,

    Just wondered if I could do the followings:
    – change the height of the search box
    – put the magnifier to the left from the current right
    – align the placeholder text to the middle
    – change the font size and color for the placeholder text (to change the font is just to write the required font to the font family setting box, right?)

    Put two pics here to better understand my questions (the first is how i want my search box to be thicker and the texts in the middle, magnifier to the left):

    Thanks in advance,
    Csongor

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter csongor

    (@csongor)

    Hi, would you like to answer my questions?

    Thanks,
    Csongor

    Plugin Author wpdreams

    (@wpdreams)

    Hi Csongor,

    You can try these custom CSS codes to change the height, magnifier position and the fonts:

    .asl_m, .asl_m * {
        min-height: 40px !important;
        line-height: 40px;
    }
    
    .asl_m .promagnifier {
        order: 1 !important;
    }
    
    .asl_m input.orig {
        font-family: "Arial" !important;
        font-size: 14px !important;
    }

    Best,
    Ernest M.

    Thread Starter csongor

    (@csongor)

    Hi, thanks,

    This is works beautifully, only one sideffect, though.
    The loading icon got streched out, too, to an oval. Screen shot attahed.
    Is there a way to keep that to a circle?

    Also one of my question wasnt addressed, which, could i make the placeholder text always appear in the middle of the box (so alligned-center)? Because right now im hitting spacebar befor my placeolder text until i feel is in the middle, but if will always look differetn and not fully center alligned on differetn devices.

    Thanks, its allready great what you did there.

    Csongor

    Plugin Author wpdreams

    (@wpdreams)

    Hi,

    Instead of the previous code, you could perhaps try:

    .asl_m, .asl_m>*, .asl_m input {
        min-height: 40px !important;
        line-height: 40px;
    }
    
    .asl_m .probox {
        align-items: center;
    }
    
    .asl_m input.orig {
        font-family: "Arial" !important;
        font-size: 14px !important;
    }

    Although I can not guarantee a perfect layout with this, height for the Lite version directly coded.

    For the placeholder you could try:

    input.orig::placeholder {
        text-align: center !important;
    }

    All the best,
    Ernest M.

    Thread Starter csongor

    (@csongor)

    Hi thanks for the effort, they both work lovely, only one little side affect left,
    which is that between the magnifier icon and the first typed letter the gap got way too big which pushes the perfectly text alligned placeholder text to the right a little, so the placeholder text is not completely in the center just in the center of the distance between the starting point of the first typed letter and the right side of the search box(sreenshot attached).

    Would there be a way to fix this?

    Thanks again, brilliant work,
    Csongor

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change the height of the search box’ is closed to new replies.