-
AuthorPosts
-
jjvera Friend
jjvera
- Join date:
- June 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 18, 2013 at 1:16 pm #189057How create my custom css in the folder /template/ja_university/themes/blue/css. i don’t want replace template.css with all de content. Only a want créate a one file with ONLY the change to override some styles.
For example create a file custom.css with only:
h1.logo {
height: 65px;
width: 155px;
}
h1.logo a {
background: url(“../images/logo.png”) no-repeat scroll left center transparent;
display: block;
height: 65px;
width: 155px;
}and override only than style.
I Prefer to have better control of changes
Very thanks
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
July 18, 2013 at 6:28 pm #499498The following is a list of informative resources to help you understand what layout/template overrides are in Joomla – and how you can use them to customize your JoomlArt Template based site . . . .
– UNDERSTANDING OUTPUT OVERRIDES
– HOW TO OVERRIDE THE OUTPUT FROM THE JOOMLA CORE
– A BEGINNER’S GUIDE TO JOOMLA OVERRIDES
1 user says Thank You to TomC for this useful post
jjvera Friendjjvera
- Join date:
- June 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 18, 2013 at 9:44 pm #499509thanks your collaboration but I’ve already read all and none fits what I’m asking. In my case, the override is on part of the css file in the folder template
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 19, 2013 at 7:11 am #499558Hi jjvera,
After creating the custom.css file in the css folder of the blue theme on your server. You need to call the new css file by adding below codes:
<stylesheets>
<file>css/custom.css</file>
</stylesheets>before </theme> in templatesja_universitythemesblueinfo.xml . Clear JAT3 cache after saving changes. Your overriden css styles will be loaded by the template then.
1 user says Thank You to phong nam for this useful post
jjvera Friendjjvera
- Join date:
- June 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 19, 2013 at 11:39 am #499603Hi Leo,
Perfect, but now i have other problem, i want lowercase the text under image an i create a custom.css for the file template.css in folder /template/ja_university/css, where stay the style, and i change de file xml. The files are load but template.css have priority and a i want change. I attach image.
Thanks.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 19, 2013 at 1:22 pm #499607Hi jjvera,
Try to use:
p.img_caption {
text-transform: lowercase !important;
}in your custom.css file and clear JAT3 cache too.
jjvera Friendjjvera
- Join date:
- June 2013
- Posts:
- 22
- Downloads:
- 0
- Uploads:
- 9
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
July 19, 2013 at 1:46 pm #499608hi Leo,
Problems, because chall all to lowercase and there are letter in lowercase and other in uppercase originally.
Thanks
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
July 19, 2013 at 2:11 pm #499613Hi jjvera,
As you can see, the p.img_caption class will tranform all the texts under the image to lowercase or uppercase, including the first character of line. The potential method is removing:
p.img_caption {
text-transform: uppercase;
}in template.css. Then texts will appear correctly.
1 user says Thank You to phong nam for this useful post
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 3 voices, and was last updated by phong nam 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Working my custom template.css
Viewing 8 posts - 1 through 8 (of 8 total)