-
AuthorPosts
-
oboect Friend
oboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 30, 2013 at 7:23 pm #189356Hello there,
This is my first Joomla 3.0 project and I am stuck at the beginning. I am trying to change the CSS file to achieve a customized look, but so far, no luck.
I am using the modern template and I have tried changing this file:
/templates/ja_onepage/css/themes/modern/template.css
But nithing happend.
See the picture
I want to remove part of the space on top of the logo in the Hero Unit.
Can anyone point me to this solution?Thank you very much.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2013 at 7:46 pm #500650So that I can try to best assist you, please provide the url of the site you’re working on,
as well as set your site to “Development Mode” within your Template Manager–General settingsoboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 30, 2013 at 7:51 pm #500652Hi Tom and thanks for your quick reply,
The site is not up yet as I am just starting now. Is it strictly necessary to put it up for you to help me? If so, I can put it somewhere temporally.
Development Mode was already activated.
Was I changing the correct file? (/templates/ja_onepage/css/themes/modern/template.css)
Many thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2013 at 7:57 pm #500653<em>@oboect 382823 wrote:</em><blockquote>
I want to remove part of the space on top of the logo in the Hero Unit.
</blockquote>
I’m not sure what you mean by “in the Hero Unit”oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 30, 2013 at 8:02 pm #500654Hi Tom,
As you can see from the picture in my first post, I have placed a logo on the module called Hero Unit. Apparently there is a css style that affects that module and has a padding or margin that gives a lot of space on the top of the picture. I want to reduce that space.
Also, I want to change the style on the “INTRODUCING” title. Now is orange, I want it yellow like the color on the logo, but I cannot find the css file that affects to that.
Hope this helps explaining my self.
Thank you very much.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2013 at 8:06 pm #500655This is why it is helpful to be able to access your site online – as I can then check and provide more exact recommendations for you. You can always throw it up (temporarily) and send me the info in a private message
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 30, 2013 at 8:11 pm #500657Hi Tom,
Is going up to a temporal site. I will send you the details in a few minutes.
Thanks
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 30, 2013 at 8:42 pm #500658You have got a PM with the details.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2013 at 8:50 pm #500660Okay, first of all . . . .
For the “Introduction” graphic, here is how you can change the background color and font color . . .
Within file path –> /t3-assets/dev/modern/templates.ja_onepage.less.themes.modern.template.less.css
at line 78, you will see the following:
.onepage .section-title h2 span {
background: none repeat scroll 0 0 #E54E19
display: inline-block;
padding: 10px 20px;
}Change the background color code to whatever color code you want.
For the font-color (same CSS file as above)
at line 72, you will see the following:
.onepage .section-title h2 {
color: #FFFFFF
font-size: 24px;
font-weight: 700;
text-transform: uppercase;
}Modify the “color” property to whatever color you like for the font.
For assistance with finding color (hex) codes, check out THESE RESOURCES
1 user says Thank You to TomC for this useful post
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 30, 2013 at 8:55 pm #500662For the logo, here is the CSS file that controls the styling . . .
/t3-assets/dev/modern/templates.ja_onepage.less.themes.modern.template.less.css
at line 35:
.logo h1, .logo h1 a {
margin-top: 10px;
}Here is where you can modify the margin value … or add additional values (even negative values) for margin and/or padding.
Make sense?
You may also need to adjust the properties for your actual logo – depending on how you want it all to look.
That CSS file is at line 39:
.logo-image a {
background-image: url("../../../templates/ja_onepage/images/themes/modern/logo.png");
height: 23px;
width: 94px;
}1 user says Thank You to TomC for this useful post
oboect Friendoboect
- Join date:
- December 2012
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 9
- Thanked:
- 6 times in 1 posts
July 31, 2013 at 9:18 am #500743Hi Tom,
I understand now, why I got you confused! When I meant the logo, I was talking of the image I placed on the Hero Unit Module, not the actual logo. But I got everything I needed now. So, for future people looking for what I was looking for they can change the css style in:
/t3-assets/dev/
Now I can play with all the code and that one affects my site.
Thank you very much for your help Tom.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 31, 2013 at 3:52 pm #500768Glad to be of assistance …. All the best with your continuing site development !!!
😎
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 2 voices, and was last updated by TomC 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Cannot change the CSS style
Viewing 12 posts - 1 through 12 (of 12 total)