End of Support for Joomla 3 - Forum closed
[SOLVED] Mobile view doesn't have banner element
Hi,
I'd like to use Joomla's banners on the Surfing theme based site (e.g. to advertise an event). The challenge is, with the Surfing theme, the banner disappears in tablet and mobile view. Desired state would be to stack the banner like the other elements. Is this possible, or would this be a considered as a feature request?
I'd like to use Joomla's banners on the Surfing theme based site (e.g. to advertise an event). The challenge is, with the Surfing theme, the banner disappears in tablet and mobile view. Desired state would be to stack the banner like the other elements. Is this possible, or would this be a considered as a feature request?
by thartwig
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic Mobile view doesn't have banner element
Posted 8 years 8 months ago #12560
Hi there,
you have to edit the file > layouts/theme.php > line 63 and remove the class "uk-visible-large"
you have to edit the file > layouts/theme.php > line 63 and remove the class "uk-visible-large"
Attachment large.jpg not found
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Attachments:
Please Log in or Create an account to join the conversation.
Replied by thartwig on topic Mobile view doesn't have banner element
Posted 8 years 8 months ago #12807
Thank you for your swift response! That indeed will show the banner in tablet sized view (which it didn't before) - however for mobile view the banner still disappears. Is there a way to make this work, or is the template just not capable for banners in mobile view?
by thartwig
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic Mobile view doesn't have banner element
Posted 8 years 8 months ago #12813
I have to check it, live Url please
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Replied by thartwig on topic Mobile view doesn't have banner element
Posted 8 years 8 months ago #12817
See
joomla-neu.btc-wista.de
- there's currently a placeholder image as a banner for testing.
by thartwig
Please Log in or Create an account to join the conversation.
- joomlaplates
- Offline
- Moderator
- Posts: 8807
- Thank you received: 1732
Replied by joomlaplates on topic Mobile view doesn't have banner element
Posted 8 years 8 months ago #12820
You can add your banner image into the mobil logo too.
Add this code below to your "logo-small" module position:
But it looks not really cool if you have a banner image at the mobile view, because you have 2 images at 2/3 of the site.
Add this code below to your "logo-small" module position:
<a title="Test-Banner" target="_blank" href="/component/banners/click/1">
<img width="300" alt="Test-Banner" src=" joomla-neu.btc-wista.de/images/by_navigation/IMG_8997.JPG ">
</a>
But it looks not really cool if you have a banner image at the mobile view, because you have 2 images at 2/3 of the site.
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
The following user(s) said Thank You: thartwig
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates