![Image](http://kompas.ba/form.jpg)
I'm asking this question after many hours searching through forum and phpwcms css files.
Couldn't find, so I heed help from You.
Thanks.
Code: Select all
form#newsletterSubscribeForm .inputNewsletter {
background-color: #FFEDAF;
font-weight: normal;
color: #222222;
border: 0.1em solid #222222;
padding: 0.2em;
width: 12em;
height:0.8em;
font-size:0.8em;
line-height:1em;
margin-bottom:0.3em;
margin-top:0.5em;
}
Sorry, maybe moderator can move this topic to right section...Heiko H. wrote:Hi,
you posted to wrong topic!
Should be support!![]()
I think the form size is hardcoded. I don't know exactly but i think so...
Heiko...
Claus, is this suppossed to be inserted in frontend.css?claus wrote:You certainly can do something likejust an example. Play with width, height and font-size - very funny and interesting results, depending on each other... at least yours wanted is possible tooCode: Select all
form#newsletterSubscribeForm .inputNewsletter { background-color: #FFEDAF; font-weight: normal; color: #222222; border: 0.1em solid #222222; padding: 0.2em; width: 12em; height:0.8em; font-size:0.8em; line-height:1em; margin-bottom:0.3em; margin-top:0.5em; }
Code: Select all
.inputNewsletter {
border-bottom:
0px dotted #FF0000;
font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px;
color:596d86;
width: 155px;
}
Thanks, it is working!krailing wrote:Hi baklavoni
Yes, it must be the class .inputNewsletter in the frontend.css (or the css-file you defined in the template).
I have a simple code like this
and when you play with width it should show you a result.Code: Select all
.inputNewsletter { border-bottom: 0px dotted #FF0000; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px; color:596d86; width: 155px; }
If not, please ask again.
Tom
I think that the code is correctly set up, because for me it is workingbaklavoni wrote:Claus,
sorry, but I can't get it working.
Are you sure code is correct?
Thanks
Code: Select all
.inputNewsletter {
background-color: #FFEDAF;
font-weight: normal;
color: #222222;
border: 0.1em solid #222222;
padding: 0.2em;
width: 12em;
height:0.8em;
font-size:0.8em;
line-height:1em;
margin-bottom:0.3em;
margin-top:0.5em;
}
I took Tom's code and put in there some of your codeclaus wrote:I think that the code is correctly set up, because for me it is workingbaklavoni wrote:Claus,
sorry, but I can't get it working.
Are you sure code is correct?
Thanks
but you -of course- can simplify it like krailing did, if you don't have a wrapping #newsletterSubscribeFormCode: Select all
.inputNewsletter { background-color: #FFEDAF; font-weight: normal; color: #222222; border: 0.1em solid #222222; padding: 0.2em; width: 12em; height:0.8em; font-size:0.8em; line-height:1em; margin-bottom:0.3em; margin-top:0.5em; }