Hello,
I want to force a template width for everything; headers, modules, background images, etc. Is there something I could put into the custom code CSS section to do this? Right now I am working with Valencia, however, I want to do this with others as well and the CSS seems very similar amongst them all.
Thank you,
Jason
Control template width?
- Issue
- jasonbrinn
-
- Commercial Templates
- Monday, 23 January 2017
- Subscribe via email
Hi Jason
Presuming I understand you correctly, for the majority of our templates a template width can be set within the 'Layout Options' tab of your templates parameters... https://www.joomla51.com/tutorials/item/editing-the-template-width
Ciarán
Presuming I understand you correctly, for the majority of our templates a template width can be set within the 'Layout Options' tab of your templates parameters... https://www.joomla51.com/tutorials/item/editing-the-template-width
Ciarán
- more than a month ago
- Commercial Templates
- # 1
Hello,
I think, it is analog to Jason's topic and question:
I can control the template width in the setting Layout Option.
It works fine.
But it's of no effect for the navbar and header.
(They stay in full-size)
But they should have the same width like my template width.
Thanks
Michael
I think, it is analog to Jason's topic and question:
I can control the template width in the setting Layout Option.
It works fine.
But it's of no effect for the navbar and header.
(They stay in full-size)
But they should have the same width like my template width.
Thanks
Michael
- more than a month ago
- Commercial Templates
- # 2
Fairmaxx is correct.
Essentially I want to setup templates like Valencia with a boxed framework.
At least I want to be able to control the background image width for each module and I am not sure what CSS controls it.
Thank you,
Jason
Essentially I want to setup templates like Valencia with a boxed framework.
At least I want to be able to control the background image width for each module and I am not sure what CSS controls it.
Thank you,
Jason
- more than a month ago
- Commercial Templates
- # 3
Hello
To amend the width of the header and showcase area of your template to match that of your template wrapper try adding the following to the Custom CSS field of your templates parameters where 1140px is the width set in your templates parameters...
Ciarán
To amend the width of the header and showcase area of your template to match that of your template wrapper try adding the following to the Custom CSS field of your templates parameters where 1140px is the width set in your templates parameters...
#container_header .wrapper960, #slideshow {
width: 1140px;
}
#slideshow {
margin: 0 auto;
}
Ciarán
- more than a month ago
- Commercial Templates
- # 4
Hello Ciarán,
the custom.css works just after input an additional line in the style.php:
$document->addStyleSheet('templates/'.$this->template.'/css/custom.css');
My template-width is set with 1140 px.
My custom.css now:
#container_header .wrapper960, #slideshow, #header {
width: 1120px;
}
#slideshow, #header {
margin: 0 auto;
}
So the header looks good. (with 20px less than the template-width)
But the left margin of the slideshow isn´t correct !!!
I tried to operate with margin-parameters, but I can't find the correct adjustment.
Thank you
Michael
the custom.css works just after input an additional line in the style.php:
$document->addStyleSheet('templates/'.$this->template.'/css/custom.css');
My template-width is set with 1140 px.
My custom.css now:
#container_header .wrapper960, #slideshow, #header {
width: 1120px;
}
#slideshow, #header {
margin: 0 auto;
}
So the header looks good. (with 20px less than the template-width)
But the left margin of the slideshow isn´t correct !!!
I tried to operate with margin-parameters, but I can't find the correct adjustment.
Thank you
Michael
- more than a month ago
- Commercial Templates
- # 5
Hello
The content of your custom.css appears to be the following...
Try changing to the following...
Rather than using addStyleSheet, an option should be available in your templates parameters to load your custom.css
Ciarán
The content of your custom.css appears to be the following...
#container_header .wrapper960, #header {
width: 1140px;
}
#slideshow, #header {
margin: 0 auto;
}
Try changing to the following...
#container_header .wrapper960, #header, #slideshow {
width: 1140px;
}
#slideshow {
margin: 0 auto;
}
Rather than using addStyleSheet, an option should be available in your templates parameters to load your custom.css
Ciarán
- more than a month ago
- Commercial Templates
- # 7
thank you, good support an nice template
another problem:
the contact form induced an error 505 in case of sending an message.
the reply to the sender works.
can you help me?
(co-flexpersonal.de)
Michael
another problem:
the contact form induced an error 505 in case of sending an message.
the reply to the sender works.
can you help me?
(co-flexpersonal.de)
Michael
- more than a month ago
- Commercial Templates
- # 8
Hi Michael
Sorry to say this would not be a template related issue. May I suggest posting your query to the Joomla forums where they would be better placed to offer assistance (https://forum.joomla.org/).
Ciarán
Sorry to say this would not be a template related issue. May I suggest posting your query to the Joomla forums where they would be better placed to offer assistance (https://forum.joomla.org/).
Ciarán
- more than a month ago
- Commercial Templates
- # 9
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »