- Posts: 129
- Thank you received: 0
Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
Reduce column width of track title in table layout
29 Feb 2016 02:41 #5924
by Ken Lee
Reduce column width of track title in table layout was created by Ken Lee
Dear Thomas,
I use the table layout and show only track title and download button. URL:
in.agnusvox.net/mavsp
However when this page is shown on smartphones whose screen is narrower, the download button at the far right end cannot be seen. I could simulate it if I resize the window to a narrow one like a phone. As attached.
How can I adjust the width of the track title column to fit the download buttons unto the screen?
I tried to find where in the style sheet that control that, but I failed.
Thanks for pointing me there.
Ken
I use the table layout and show only track title and download button. URL:
in.agnusvox.net/mavsp
However when this page is shown on smartphones whose screen is narrower, the download button at the far right end cannot be seen. I could simulate it if I resize the window to a narrow one like a phone. As attached.
How can I adjust the width of the track title column to fit the download buttons unto the screen?
I tried to find where in the style sheet that control that, but I failed.
Thanks for pointing me there.
Ken
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
29 Feb 2016 10:00 #5925
by Thomas Hunziker
Replied by Thomas Hunziker on topic Reduce column width of track title in table layout
The download button cell has a class applied called "hidden-phone". This is a Bootstrap class which hides that element on phones.
I added this class because I think phone users usually don't want to download the file itself and rather listen to it using the player.
In your case, this may be different. You can now either change the layout and remove that class, or you add a specific rule to override that hiding. That should do the trick:
I added this class because I think phone users usually don't want to download the file itself and rather listen to it using the player.
In your case, this may be different. You can now either change the layout and remove that class, or you add a specific rule to override that hiding. That should do the trick:
Code:
.ss-dl {
display: table-cell !important;
}
The following user(s) said Thank You: Ken Lee
Please Log in or Create an account to join the conversation.
01 Mar 2016 04:34 #5928
by Ken Lee
Replied by Ken Lee on topic Reduce column width of track title in table layout
Dear Thomas,
I removed hidden-phone from td tag in the template override and I achieved my goal. Thank you very much.
Just want to learn about css, though. If I try the CSS method I don't what where I should put that 3 lines of code you gave.
Is it /media/com_sermonspeaker/css/sermonspeaker.css?
I put there and it did nothing. Did I insert at the wrong line?
Thanks for pointing out.
I removed hidden-phone from td tag in the template override and I achieved my goal. Thank you very much.
Just want to learn about css, though. If I try the CSS method I don't what where I should put that 3 lines of code you gave.
Is it /media/com_sermonspeaker/css/sermonspeaker.css?
I put there and it did nothing. Did I insert at the wrong line?
Thanks for pointing out.
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
01 Mar 2016 10:04 #5929
by Thomas Hunziker
Replied by Thomas Hunziker on topic Reduce column width of track title in table layout
SermonSpeaker doesn't always load a CSS file. You are better off adding that rule to your template. Most support adding a custom.css file somewhere or have a parameter where you can put your custom rules.
You can also use one of the many extensions on JED which allow to add custom CSS rules.
When you start with CSS it's a good idea to also learn a bit about the Bootstrap framework that is used in Joomla: getbootstrap.com/2.3.2/
And of course there are many tutorials which are worth reading so you get an idea about the basics (selectors, inheritance, ...)
You can also use one of the many extensions on JED which allow to add custom CSS rules.
When you start with CSS it's a good idea to also learn a bit about the Bootstrap framework that is used in Joomla: getbootstrap.com/2.3.2/
And of course there are many tutorials which are worth reading so you get an idea about the basics (selectors, inheritance, ...)
The following user(s) said Thank You: Ken Lee
Please Log in or Create an account to join the conversation.
Time to create page: 0.303 seconds