changing table widths
- Thomas Hunziker
- Offline
- Administrator
Less
More
22 Feb 2012 17:35 #1541
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: [SOLVED] changing table widths
Ah, good find. CSS can be tricky sometimes
The "category" class is a class which is used also by core components (like com_content) when they show tables.
The "category" class is a class which is used also by core components (like com_content) when they show tables.
Please Log in or Create an account to join the conversation.
22 Feb 2012 19:45 #1542
by B.Pohl
Thanks Thomas,
I am assuming then that by setting the css in media/com_sermonspeaker/css/sermonspeaker.css, it won't conflict with other components
Replied by B.Pohl on topic Re: [SOLVED] changing table widths
Thomas Hunziker wrote: The "category" class is a class which is used also by core components (like com_content) when they show tables.
Thanks Thomas,
I am assuming then that by setting the css in media/com_sermonspeaker/css/sermonspeaker.css, it won't conflict with other components
Please Log in or Create an account to join the conversation.
- Andrei Chernyshev
- Offline
- Translator
22 Feb 2012 20:57 #1543
by Andrei Chernyshev
Replied by Andrei Chernyshev on topic Re: changing table widths
actually if you put it in there if you upgrade sermonspeaker you might overwrite the changes.
Please Log in or Create an account to join the conversation.
22 Feb 2012 21:25 - 22 Feb 2012 21:25 #1544
by B.Pohl
aaah, good point. Thanks. Is there a place where I can write it where it won't conflict with other components, and that it won't be over-written?
Replied by B.Pohl on topic Re: [SOLVED] changing table widths
Andrei Chernyshev wrote: actually if you put it in there if you upgrade sermonspeaker you might overwrite the changes.
aaah, good point. Thanks. Is there a place where I can write it where it won't conflict with other components, and that it won't be over-written?
Last edit: 22 Feb 2012 21:25 by B.Pohl.
Please Log in or Create an account to join the conversation.
- Andrei Chernyshev
- Offline
- Translator
22 Feb 2012 21:29 #1545
by Andrei Chernyshev
Replied by Andrei Chernyshev on topic Re: changing table widths
best place to put it, is in your template's css file. custom.css i think for your template is last one executed.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
- Offline
- Administrator
22 Feb 2012 22:27 #1547
by Thomas Hunziker
Replied by Thomas Hunziker on topic Re: changing table widths
Custom CSS should always be done in one of the templates CSS files.
If you want to make sure it doesn't conflict with other extensions, you could specify the CSS rule a bit closer.
Each view from SermonSpeaker has a div container with a unique class. This allows you to apply CSS formats only for SermonSpeaker (or even specific views).
For example:
Would only apply the formatting to the sermons list table.
If you want to make sure it doesn't conflict with other extensions, you could specify the CSS rule a bit closer.
Each view from SermonSpeaker has a div container with a unique class. This allows you to apply CSS formats only for SermonSpeaker (or even specific views).
For example:
Code:
div.ss-sermons-container table.category{
width:100%;
}
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds