Tagged: logo, Sidebar Menu
-
AuthorPosts
-
June 28, 2017 at 2:03 am #813662
Heya,
Wondering if you can help me with this. Private login details provided below.
In the sidebar menu the logo space is 340 x 156px but the designer is asking for this to be a square section so the logo will sit right, currently its not how she wants it in the build, she wants it to look like below (box to show placement)
https://pasteboard.co/2o0v3edyP.pngAnd for mobile she wants it to sit centered like this … https://pasteboard.co/2o1UUduun.png
Is this possible at all?
And one other question. She has asked if the menu links can sit centered within the page height on responsive, ie. move with the page?
Any help would be much appreciated :)
Hally
June 28, 2017 at 6:25 pm #814055Hey public_eye,
Yo can make a square container and give it a border via css, that way you don’t need to change the image now or for mobile.
Not sure what you are trying to achieve with the menu. Could you please attach a mockup of what you’re trying to achieve?This will center logo for mobile and make a logo look like you need:
.responsive #top .logo a { height: 200px; border: 1px solid #fff; } html_header_sidebar .logo img { margin-top: 42px; } @media only screen and (max-width: 767px) { .responsive .logo img { margin: 0 auto; } .responsive #top .logo { width: 100%; } } @media only screen and (max-width: 767px) { .responsive .logo img { margin: 0 auto; } .responsive #top .logo { width: 100%; } }
Best regards,
VictoriaJune 28, 2017 at 11:22 pm #814144Hey Victoria,
Mobile is perfect thank you! … I think there was some confusion re the desktop .. the ‘square’ isn’t what I was wanting it’s getting the logo to sit in the center of that space … (have popped the private link below). I don’t need the actual border. Just the logo to sit centered within that square. The designer is specific about this as all the clients marketing items have a yellow square with the logo centered so she wants the exact same ‘look’.
One other thing she has asked. I have found some css to remove the ‘flip’ animation from the homepage gallery and the ‘inspiration’ page gallery but now shes asking if we can have the same ‘fade’ in effect like the portfolio images on the portfolio page when it loads? Is this doable with some css as well?
Much appreciated,
HallyJune 29, 2017 at 5:06 am #814202Hi,
To solve this, just add the following CSS code at Enfold Theme Options > General Styling > Quick CSS
.html_header_sidebar .logo img { padding-top: 47px !important; } .responsive #top .logo a { border: none !important; }
Best regards,
John TorvikJune 29, 2017 at 5:28 am #814211Cool thanks that’s fixed the desktop but now affected the logo on the mobile layout?
June 29, 2017 at 3:08 pm #814515Hi public_eye,
Please remove !important from the code
.html_header_sidebar .logo img { padding-top: 47px !important; }
it will be very hard to adjust it for other screen sizes.
Remove this code:.responsive #top .logo a { border: none !important; }
and remove the line for border from the code I gave you
.responsive #top .logo a { height: 200px; this one ---- border: 1px solid #fff; }
and then get back to us, we’ll see what else needs to be adjusted.
Best regards,
Victoria- This reply was modified 7 years, 4 months ago by Victoria.
June 29, 2017 at 10:41 pm #814723Heya Victoria,
Okay have done that and the only issue now is the logo is appearing really tiny on the mobile layout.
I was totally happy to not mess with this but the designer is adamant it has to look the way she wants on mobile and desktop :S
June 30, 2017 at 7:31 am #814832Hi,
Add the following to enlarge the logo on mobile:
@media only screen and (max-width: 767px) { .html_header_sidebar .logo img { padding-top: 0px!important; } }
Best regards,
Jordan ShannonJune 30, 2017 at 1:07 pm #814943Thank you! Perfect.
Much appreciated.
June 30, 2017 at 2:54 pm #814976Hi,
No problem at all. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Sidebar menu & Responsive Issues’ is closed to new replies.