How to make newsletter form smaller?

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
Post Reply
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

How to make newsletter form smaller?

Post by baklavoni »

Here is image of what I want to make:

Image

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.
There is no page like home page...
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Re: How to make newsletter form smaller?

Post by Heiko H. »

Hi,

you posted to wrong topic!
Should be support! :idea:
I think the form size is hardcoded. I don't know exactly but i think so...

Heiko...
Not longer here - sorry...

Haubner-IT GbR Dresden
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: How to make newsletter form smaller?

Post by update »

You certainly can do something like

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;
}
just an example. Play with width, height and font-size - very funny and interesting results, depending on each other... at least yours wanted is possible too ;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: How to make newsletter form smaller?

Post by baklavoni »

Heiko H. wrote:Hi,

you posted to wrong topic!
Should be support! :idea:
I think the form size is hardcoded. I don't know exactly but i think so...

Heiko...
Sorry, maybe moderator can move this topic to right section...
And, yes, I think it is hardcoded. I did searching through all css, and when I didn't find anything, I tried with help here...
Thanks.
claus wrote:You certainly can do something like

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;
}
just an example. Play with width, height and font-size - very funny and interesting results, depending on each other... at least yours wanted is possible too ;)
Claus, is this suppossed to be inserted in frontend.css?
Will try to search, and keep you informed about results...
Thanks
:)
There is no page like home page...
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: How to make newsletter form smaller?

Post by update »

yes, put it into frontend.css
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: How to make newsletter form smaller?

Post by baklavoni »

Claus,
sorry, but I can't get it working.
Are you sure code is correct?

Thanks
There is no page like home page...
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Re: How to make newsletter form smaller?

Post by krailing »

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

Code: Select all

.inputNewsletter { 
    border-bottom: 
    0px dotted #FF0000;
    font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px;
    color:596d86;
    width: 155px;
    }
and when you play with width it should show you a result.

If not, please ask again.

Tom
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: How to make newsletter form smaller?

Post by baklavoni »

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

Code: Select all

.inputNewsletter { 
    border-bottom: 
    0px dotted #FF0000;
    font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px;
    color:596d86;
    width: 155px;
    }
and when you play with width it should show you a result.

If not, please ask again.

Tom
Thanks, it is working!

Thank you all!!!
There is no page like home page...
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: How to make newsletter form smaller?

Post by update »

baklavoni wrote:Claus,
sorry, but I can't get it working.
Are you sure code is correct?

Thanks
I think that the code is correctly set up, because for me it is working
but you -of course- can simplify it like krailing did, if you don't have a wrapping #newsletterSubscribeForm

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;
}
;)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Re: How to make newsletter form smaller?

Post by baklavoni »

claus wrote:
baklavoni wrote:Claus,
sorry, but I can't get it working.
Are you sure code is correct?

Thanks
I think that the code is correctly set up, because for me it is working
but you -of course- can simplify it like krailing did, if you don't have a wrapping #newsletterSubscribeForm

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 code :)
I got mixture of two codes... ;)

Thank you both.
There is no page like home page...
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: How to make newsletter form smaller?

Post by update »

Welcome :)
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
krailing
Posts: 119
Joined: Fri 20. Apr 2007, 11:17
Location: Schaffhausen/CH

Re: How to make newsletter form smaller?

Post by krailing »

Welcome :D
Post Reply