Change font settings using administrator

More
10 years 2 months ago #41997 by Danimeeka
Hi,

I would like to change the H1 and H2 setting to left justified. I am using Style 4. When I change settings in the administrator section for font settings, nothing happens on the front end. I also notice that the apparent colour shown in font settings has not changed from the style 1 colour, even though it has changed on the front end. This will cause confusion for my client when I hand the website management over to him.

Any suggestions? Should I update the template to a newer version (since mine was downloaded in December 2013)?

Thanks,
Julia.

Please Log in to join the conversation.

More
10 years 2 months ago #42003 by ivan.milic
If you use Style4 parameter settings will have no effect , they work when style is set to custom. You can edit /styles/style4.css to change predefined styling

Please Log in to join the conversation.

More
9 years 5 months ago #45516 by Danimeeka
Hi, many months have elapsed but I have come back to this post and found a solution to left-aligning H1 and H2 headings. The code is in template_css.css on line 474:

.sparky_inner .item-page h1, .sparky_inner .item-page h2 {
text-align: center;
}

needs to become

.sparky_inner .item-page h1, .sparky_inner .item-page h2 {
text-align: left;
}

One last question: Is it possible to add changes like this to a custom.css type file of my own making, rather than changing the source code? So that my changes will not be overwritten if I ever update the template? If so, where should I put this custom.css file?

Many thanks,
Julia.

Please Log in to join the conversation.

More
9 years 5 months ago #45518 by ivan.milic
Helo, sure you can include your own .css and you can do it by finding lines in index.php that include styles.

i.e.

<link rel="stylesheet" href="<?php echo $template_path ?>/css/joomla.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $template_path ?>/css/template_css.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $template_path ?>/css/layout.css" type="text/css" />

and right after it put

<link rel="stylesheet" href="<?php echo $template_path ?>/css/your_style.css" type="text/css" />

where your_style.css is your new style in template_folder\css. Once you want to upgrade template, keep it and again include in index.php

Index.php is locatad under your template folder.
The following user(s) said Thank You: Danimeeka

Please Log in to join the conversation.

More
9 years 5 months ago #45521 by Danimeeka
Thanks Ivan - perfect!
Julia.

Please Log in to join the conversation.

Time to create page: 0.176 seconds
Powered by Kunena Forum