-
AuthorPosts
-
April 4, 2016 at 2:14 pm #607589
Hi I need to put the orange KTM Logo logo in the header on the right just after the MAIL icon for example. In other words I need to do to exactly this effect with the KTM logo on the official website:
My site (under construction) is this (get the future homepage): http://www.ferrandomotor.it/nuova-home/
I follow this instructions, but with partial success as you can see:
My image is here.
thanks in advance ,
Nicola- This topic was modified 8 years, 8 months ago by niguli.
April 4, 2016 at 2:16 pm #607596Hi Nicola!
Please refer to this post – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ and add your logo using widget area to your header.
Best regards,
YigitApril 4, 2016 at 2:21 pm #607601HI Yigit,
that’s exactly what I did by now and linked in my request above :(
probably the css customization needs some improvement:#header .widget { left: 98%; padding-top: 0; position: absolute; top: 0px; transform: translate(-50%); z-index: 999; }
- This reply was modified 8 years, 8 months ago by niguli.
April 5, 2016 at 4:39 am #608016Hi,
Try adding this argument to your CSS and then play with the values to get it right:
min-width: 200px;
Best regards,
RikardApril 7, 2016 at 5:43 pm #609792Hi Richard, thank you. Can you help me more?
here is the situation: http://www.ferrandomotor.it/servizi/
I need the logo to not override any menu voices and, if possible, to be at the top right of the headerApril 11, 2016 at 6:00 am #610971Hi!
The current layout of the header will not work well the “ktm” image. You have to hide it once it started to overlap the menu items.
@media only screen and (max-width: 1300px) { #header .widget { display: none; } }
If you have another idea, please provide a screenshot. We’ll try to implement it.
Regards,
IsmaelApril 11, 2016 at 7:21 pm #611500Hi Ismael, I added your code.
My idea is to have something similar to this:
or the second logo can be placed at the very right-top after the MAIL icon
- This reply was modified 8 years, 8 months ago by niguli.
April 14, 2016 at 4:37 am #613416Hi!
Please remove the widget then add this css code:
#header_meta .container:before { content: url('http://www.ferrandomotor.it/wp-content/uploads/2016/04/logo-ktm-1.png'); position: absolute; right: -100px; }
Cheers!
IsmaelApril 14, 2016 at 11:04 am #613687almost perfect Ismael, thank you.
Here is my last problem:
– secondary logo is partially hidden when screen size is less than 1500px (circa):
– logo is ok when screen size is > 1500px:thank you
April 14, 2016 at 12:28 pm #613758Hi!
Please add following code to Quick CSS as well
@media only screen and (max-width: 1500px) { #header_meta .container:before { right: 0; }}
Regards,
YigitApril 14, 2016 at 12:34 pm #613771Hi Yigit,
the media query does not work for me.
Take a look:
http://www.ferrandomotor.it/nuova-home/April 17, 2016 at 6:29 am #615692Hey!
Hide it on screen sizes lower than 1500px or compromise the header container width:
@media only screen and (max-width: 1500px) { .responsive #header_main .container { max-width: 80%; } }
Set the Header > Mobile Menu > Header Mobile Menu activation to the second option.
Best regards,
IsmaelApril 17, 2016 at 9:53 am #615759I’m not sure It all works… can you take a look?
my quick css is:
/* FERRANDO MOTOR QUICK CSS */ @media only screen and (max-width: 1500px) { #header_meta .container:before { right: 0; }} @media only screen and (max-width: 1500px) { .responsive #header_main .container { max-width: 80%; } } .phone-info span { font-size: 14px; } input#s { color:#fff !important; } #header_meta .container:before { content: url('http://www.ferrandomotor.it/wp-content/uploads/2016/04/logo-ktm-1.png'); position: absolute; right: -100px; } /* @media only screen and (max-width: 1300px) { #header .widget { display: none; } } */ /* #header .widget { left: 98%; min-width: 200px; padding-top: 0; position: absolute; top: 0px; transform: translate(-50%); z-index: 999; } */ label.input_checkbox_label { font-size: 70% !important; } input#avia_1_1.text_input.is_empty, textarea#avia_7_1.text_area, select#avia_6_1.select, input#avia_2_1.text_input.is_email, input#avia_3_1.text_input.is_empty, input#avia_4_1.text_input.is_empty, textarea#avia_5_1.text_area.is_empty, input#avia_3_1.text_input.is_phone, input#avia_4_1.avia_datepicker.text_input.hasDatepicker, select#avia_5_1.select { font-family: 'trade-gothic-20cn' !important; } #s { color:#000 !important; font-family: 'trade-gothic-20cn' !important; } input.button { font-family: 'trade-gothic-20cn' !important; } /*div.container_wrap.container_wrap_logo { display: none; } */ .page-id-9 #header_meta { display: none; } input#s {color:#000;} span.copyright { width: 100%; font-size: 14px; text-align: center; }
and theme options is:
- This reply was modified 8 years, 8 months ago by niguli.
April 19, 2016 at 12:24 pm #617334Hi!
posting all your CSS code here does not help us at all. Please make sure it works or not and if does not work as expected, then let us know.
Best regards,
AndyApril 20, 2016 at 7:41 am #618030It does not work Andy, otherwise I did not tried to help you posting quick css.
Even on screen > than iPad the secondary logo is partially cut.
thank you
April 22, 2016 at 11:48 am #619789Hi!
try this code in Quick CSS for iPad:
@media only screen and (max-width: 1024px) { #header_meta .container { left: -94px; }}
Cheers!
AndyApril 22, 2016 at 12:02 pm #619805one question before Andy, please: should I erase all the code below in quick css before adding yours:
@media only screen and (max-width: 1500px) { #header_meta .container:before { right: 0; }} @media only screen and (max-width: 1500px) { .responsive #header_main .container { max-width: 80%; } }
April 23, 2016 at 8:44 am #620411 -
AuthorPosts
- You must be logged in to reply to this topic.