End of Support for Joomla 3 - Forum closed
Logo in desktop and mobile (responsive) view
Logo in desktop and mobile (responsive) view was created by bluecie
Posted 6 years 9 months ago #21216
Hi,
I have a logo setup for the desktop view (normal) and one for mobile devices (smaller size).
In the Host template, text was used to create the logo, so not possible to determine what is the height that should be used for a graphical logo. It seems that images are stretched to a certain size if they are too small which results in loss of quality. So I was wondering what is the required size for the logo in desktop view and in mobile view ?
I have 2 modules in the logo position, both containing the desired logo, but in 2 different sizes. Using the customizer > Modules I have selected which module to show in which display. The desktop logo should show up on PC's and tablets while the mobile logo should show up only on mobiles...
I have both modules being displayed on any display I'm selecting. Next to that, the smaller logo I used for the module that is displayed on mobiles is being stretched out of proportion, even when I define the dimensions of that image in the <img> tag.
I'm sure I'm missing something very obvious, but I'm failing to see it.
The site is in development and therefore in offline mode. Is there anything you can think of with the above info that puts me in the right direction ?
Let me know if you need access to the site to see things yourself.
I have a logo setup for the desktop view (normal) and one for mobile devices (smaller size).
In the Host template, text was used to create the logo, so not possible to determine what is the height that should be used for a graphical logo. It seems that images are stretched to a certain size if they are too small which results in loss of quality. So I was wondering what is the required size for the logo in desktop view and in mobile view ?
I have 2 modules in the logo position, both containing the desired logo, but in 2 different sizes. Using the customizer > Modules I have selected which module to show in which display. The desktop logo should show up on PC's and tablets while the mobile logo should show up only on mobiles...
I have both modules being displayed on any display I'm selecting. Next to that, the smaller logo I used for the module that is displayed on mobiles is being stretched out of proportion, even when I define the dimensions of that image in the <img> tag.
I'm sure I'm missing something very obvious, but I'm failing to see it.
The site is in development and therefore in offline mode. Is there anything you can think of with the above info that puts me in the right direction ?
Let me know if you need access to the site to see things yourself.
by bluecie
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
Replied by joomlaplates on topic Logo in desktop and mobile (responsive) view
Posted 6 years 9 months ago #21220
Sorry I dont know what do you mean?
And without a live Url I can not help you..
And without a live Url I can not help you..
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 bluecie on topic Logo in desktop and mobile (responsive) view
Posted 6 years 8 months ago #21255
Hi,
Sorry for the confusion - I have added a screenshot.
There are 2 modules: one is for the logo in desktop view, the other one is for the mobile view. However, both desktop and mobile logo show up on mobile devices...
I can send you an account to look at the site (where do I send it to?). It only goes live on 01/09. The content cannot yet be public...
Thanks,
Mario
Sorry for the confusion - I have added a screenshot.
There are 2 modules: one is for the logo in desktop view, the other one is for the mobile view. However, both desktop and mobile logo show up on mobile devices...
I can send you an account to look at the site (where do I send it to?). It only goes live on 01/09. The content cannot yet be public...
Thanks,
Mario
by bluecie
Attachments:
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
Replied by joomlaplates on topic Logo in desktop and mobile (responsive) view
Posted 6 years 8 months ago #21258
Hi there,
please delete one of your logo module and insert both logo text into one module.
After that you can manage the visibily with css classes like that
please delete one of your logo module and insert both logo text into one module.
After that you can manage the visibily with css classes like that
<p class="uk-visible-large" style="font-size:22px"><i class="uk-icon-server"></i> LOGO Desktop</p>
<p class="uk-visible-small" style="font-size:22px"><i class="uk-icon-server"></i> LOGO MOBILE</p>
Attachment Screenshot_2-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16-17-18-19-20-21-22-23-24-25-26-27-28-29-30-31-32-33-34-35-36-37-38-39-40-41-42-43-44-45-46.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 bluecie on topic Logo in desktop and mobile (responsive) view
Posted 6 years 8 months ago #21270
Hi,
Thanks - I'm afraid I'm having an image based logo (which you could not see in the screenshot - my appologies - I should have mentioned that).
That is why I was using a normal size logo in one module and a smaller size logo in another...
I see what your suggested solution would accomplish. Can we do this in some other way with image based logos ?
Thanks,
Mario
Thanks - I'm afraid I'm having an image based logo (which you could not see in the screenshot - my appologies - I should have mentioned that).
That is why I was using a normal size logo in one module and a smaller size logo in another...
I see what your suggested solution would accomplish. Can we do this in some other way with image based logos ?
Thanks,
Mario
by bluecie
Please Log in or Create an account to join the conversation.
- joomlaplates
-
Offline
- Moderator
-
- Posts: 8841
- Thank you received: 1736
Replied by joomlaplates on topic Logo in desktop and mobile (responsive) view
Posted 6 years 8 months ago #21272
You can use the css class everywhere you want:
<img class="uk-visible-large" src=".png" alt="" border="0" align="left" width="" height="" />
Dokumentation:
www.joomlaplates.de/dokumentation.html
www.joomlaplates.de/dokumentation.html
by joomlaplates
Please Log in or Create an account to join the conversation.
Moderators: joomlaplates