Doubts about textbox position in CSS

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Aug 08, 2013 8:37 pm
Reply with quote
Report this post
Hello all,

I´m changing some CSS code and I´m trying to move the following textbox and i can not how do it.

I would like move the search field to top some pixels, because there is too much space between them. Also with newsletter field.
1.JPG

The url is http://www.vimistore.es/
Kind regards
User avatar
Expert Boarder

GK User
Thu Aug 08, 2013 9:14 pm
Reply with quote
Report this post
Hi again,
no problem, but first reduce some empty <p></p> inside your Custom HTML Module where you have got a phone number. I will add you a screenshot in next post wait a second.
User avatar
Platinum Boarder

GK User
Thu Aug 08, 2013 9:18 pm
Reply with quote
Report this post
1) Use <span>..</span>(or <div>) instead your <p>..</p>

Code: Select all
<p>&nbsp;&nbsp;<img alt="telefycontact" src="/images/telefycontact.png">&nbsp;</p>


USE THIS
Code: Select all
<span><img alt="telefycontact" src="/images/telefycontact.png">&nbsp;</span>



2) Delete empty <p></p> under !
space.jpg


INFO:
<p> - have bottom and top padding that's why you have so many empty space

With <span> ONLY you will get
with-span-only.jpg
User avatar
Platinum Boarder

GK User
Thu Aug 08, 2013 10:28 pm
Reply with quote
Report this post
Nice!

But also i need with newsletter module reduce some pixel textfield with text.
User avatar
Expert Boarder

GK User
Thu Aug 08, 2013 10:33 pm
Reply with quote
Report this post
Use this:

Code: Select all
p.intro {margin-bottom:0.5em; line-height:normal;}



I hope that you know how to use custom CSS code, if not check in our Wiki in Customization section.
User avatar
Platinum Boarder

GK User
Thu Aug 08, 2013 10:49 pm
Reply with quote
Report this post
To see the code i´m using Google Chrome. But i don´t know so much about how to use firebug and similar.

That´s right!!

Many thanks!!
User avatar
Expert Boarder


cron