Streaming live at 10am (PST)

Scaling the logo for portrait device


#1

I am trying to scale the logo down only for the portrait device, but it keeps effecting the size on the other versions. I have applied a class to the logo. Even a sub class. But it keeps applying it to all versions.


#2

Can you post your link so we can have a looksy?


#3

Sure. Thanks. silvereaglelodge.webflow.io


#4

From what I see, you dont have a style on the image..

I did this

http://silvertest.webflow.io/

Give the image/brand css a name and style for each device.

FB


#5

Instead of assigning an absolute width value via a HTML attribute tag you can use the assign the CSS max width that targets the image as a percentage relative width value like so img {max-width:100%} .


#6

@WaynsterZA, I am having the same problem. Can you explain in more detail how to give the image/brand css a name and style for each device? I have tried but can't seem to get it. Thanks!


#7

Hi. I have not delved into it any deeper Scarlet. It seems to be a coding solution, and I am leaving it for a bit later. For the time being I have scaled it to fit the portrait device, and left it that size for the others.


#8

Hi @WaynsterZA and @scarlettmacaw, could you submit read-only links to the sites, it is much easier to troubleshoot the issue.

http://help.webflow.com/faq/general/how-do-i-share-my-sites-read-only-link

Css styles cascade from Desktop to Mobile, but if you change the width or height of an image from Image Settings, then that change affects to all views.

If you post the read-only links, we can take a look further smile Cheers,
Dave


#9

@cyberdave, thanks for jumping in! I need to solve for this problem by the end of next week, when my site has to deploy. Here's the link you asked for:

https://preview.webflow.com/preview/d2cyber?preview=1d18df92f76d72d2c200683f64ffab54

THANK YOU!


#10

Hi @scarlettmacaw, thanks for the read-only link smile Could you let me know, how do you want to change the logo between the different viewports? I see your logo, but there are no current css changes between viewports

Cheers,
Dave


#11

@cyberdave: I somehow fixed this problem. I find it hard to get subclasses to stick onto just the items in a particular viewport, but I did finally manage to get a subclass stuck onto the logo in just that view, and was able to shrink it that way without affecting the size in the other views. Still new here, still learning...


#12

Hi @scarlettmacaw, thanks for letting me know. Don't worry, it takes a little time, but it comes along pretty quick after you build a couple of sites. The average learning time is about 1-3 months, less for people who already have some background in css and html.

We are going to be having some new updates coming soon, that will add a bunch of new features... stay tuned !

Cheers,
Dave


#13

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.


#14