-
AuthorPosts
-
orientation Friend
orientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 16, 2013 at 3:27 pm #193022Hello,
How can I adjust the size of the font in the contact form and the text that is left of it?
I’ve tried: http://www.joomlart.com/forums/topic/changing-font-size-and-type-for-contact-us-form/ but this was not working.
and a second question; on my site http://www.sleutelverhalen.nl there is a lot of white space between the sections ‘over ons’ and ‘kosten’
How can I remove the white space?
Regards,
Marnixpavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 16, 2013 at 4:43 pm #515603Hi
To enlarge the font size in contact form you can add to the custom.css file this line of code
.onepage.contact {
font-size:14px!important;}<blockquote>and a second question; on my site http://www.sleutelverhalen.nl there is a lot of white space between the sections ‘over ons’ and ‘kosten'</blockquote>
Could you explain better how it should be ? if you check the main menu it is working fine page is correctly loaded by the menu item
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 16, 2013 at 5:12 pm #515606Cool! Thanks for the code, it’s perfect!
The white space is probably because I use two white modules in a row? See screenshot
I’ve an extra question, if you look at my site you will see a module called ‘Voorbeelden’ with the gray background, but actually I want the same red background as the ‘OUR PORTFOLIO’ in de demo website.
How can I use that particular background?
Thanks for the help!!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
December 16, 2013 at 5:25 pm #515609<em>@orientation 402200 wrote:</em><blockquote>
I’ve an extra question, if you look at my site you will see a module called ‘Voorbeelden’ with the gray background, but actually I want the same red background as the ‘OUR PORTFOLIO’ in de demo website.How can I use that particular background?
Thanks for the help!!</blockquote>
It would be helpful if you could temporarily set your site to “Development Mode” and “Optimize CSS’ to “No” within your Template Manager–General settings.pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 16, 2013 at 5:41 pm #515613<blockquote>I’ve an extra question, if you look at my site you will see a module called ‘Voorbeelden’ with the gray background, but actually I want the same red background as the ‘OUR PORTFOLIO’ in de demo website.</blockquote>
You need to change the pattern file name in the template.css file for retro theme
/templates/ja_onepage/css/themes/retro/template.css
.portfolio {
background: url(../../../images/themes/retro/pattern-3.gif) repeat left top;
box-shadow: 0 0 5px rgba(0,0,0,0.25) inset;
}Check your images name in theme/yourtheme/images folder
Hope was clear
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 17, 2013 at 9:42 am #515700Where can I find “Optimize CSS’ to “No”? I’ve searched for hours but I can’t find it… :((
And I’ve found the code for .portfolio where I can change the pattern file name, but section on my website is called: ‘Voorbeelden’. Where can I find that code for changing the pattern?
Again, thanks for the help!
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 17, 2013 at 9:56 am #515703Hi
<blockquote>Where can I find “Optimize CSS’ to “No”? I’ve searched for hours but I can’t find it…</blockquote>
Extensions >> Template Manager >> Your default template >> General Tab
<blockquote>And I’ve found the code for .portfolio where I can change the pattern file name, but section on my website is called: ‘Voorbeelden’. Where can I find that code for changing the pattern?</blockquote>
.portfolio is the css role assigned to the module
/templates/ja_onepage/css/themes/retro/template.css open the file and check for this code
.portfolio {
background: url(../../../images/themes/retro/pattern-3.gif) repeat left top;
box-shadow: 0 0 5px rgba(0,0,0,0.25) inset;
}check in your templatesja_onepageimagesthemesretro the pattern-3.gif image if it is the orange you need or change the css with the image name you prefer
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 17, 2013 at 12:38 pm #515727Ok, sorry, but now I’m getting confused. There is no option in the General tab to set ‘Optimize CSS’ to ‘No’. See enclosed screenshot
I understand that .portfolio is the css role assigned to the module. But I don’t use the module Portfolio, they are all unpublished.
I’ve created a couple new moduleswith ‘custom html’ as type and I want for each different module an other background/pattern.I don’t think that I can do that in only the .portfolio code…
Please help… 🙂
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 17, 2013 at 1:46 pm #515730Ok
Please send me via Private Message a super user account login i will try to take a look at your configuration and try to make changes needed
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 17, 2013 at 2:04 pm #515732Done!
Thanks!pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 17, 2013 at 2:36 pm #515735If you check your module now it has a background image different
This image background is given to the module by the css class suffix (.portfolio ) that i added to your custom-html module in Options > Advanced Options > Module Class Suffix
If you open this file /templates/ja_onepage/css/themes/retro/template.css you will see
.portfolio {
background: url(../../../images/themes/retro/pattern-4.gif) repeat left top;
box-shadow: 0 0 5px rgba(0,0,0,0.25) inset;
}pattern4.gif is the image used as background by the .portfolio css class so if you want to change your module background change the image in that file with your customized image
Hope was enough clear
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 17, 2013 at 3:00 pm #515739Thanks, yes it was clear for me now, but if I change the pattern-4.gif also the ‘hero-unit’ module changed. And thats is not ok. I want the ‘hero-unit’ with the blue pattern and the other module the red pattern…
Now it changes both modules…
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
December 17, 2013 at 3:04 pm #515741Make a new css style . portfolio1 change the background to it and assign it to the new module or vice versa
1 user says Thank You to pavit for this useful post
orientation Friendorientation
- Join date:
- October 2013
- Posts:
- 13
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
December 17, 2013 at 3:44 pm #515743I’ve created:
.portfolio1 {
background: url(../../../images/themes/retro/pattern-5.gif) repeat left top;
box-shadow: 0 0 5px rgba(0,0,0,0.25) inset;
}And in the Module Class Suffix of the ‘Voorbeelden’ module I’ve assigned it to portfolio1, but now I get a grey background while the patter-5.gif is the red pattern…
I feel a little bit stupid that I cannot get it working, >:(>:(>:(
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 18, 2013 at 8:49 am #515836Hi orientation,
Pavit’s codes are great. You just need to leave a space before the module class suffix text “portfolio1“, the background of Voorbeelden will display fine then.
1 user says Thank You to phong nam for this useful post
AuthorPostsThis topic contains 19 replies, has 4 voices, and was last updated by orientation 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum