-
AuthorPosts
-
September 16, 2020 at 10:38 am #1246246
Hi Mike
Last week helped me with adapting the header and main menu bar.
My client is happy however she would like some smaller changes to the header and main menu bar would you be able to help?1)Main header – Icons
– Please add colour #DAC7A6 to icons
– Please add line space between the mobil and e-mail lines, however they should be aligned with in height with the buttons to the right2)Logo
– It is possible to enlarge the logo a bit – similar to the size on https://tandlaegecanter.dk/3)Main menu bar
– Can the height of the bar be changed from 61px to 52px?
– Now the separators are “small” – should be “large”
– Each box (titel) should be size W:162px
– Hover effect missing colour should be #efebe8
Hope it is manageable.
Many thanks in advance!
Best regards
LeneSeptember 21, 2020 at 5:39 am #1247254Hey Lene,
Thank you for the inquiry.
1.) We could use this css code to adjust the color of the icons.
.responsive #top #header #header_main .inner-container .widget > div .fa-phone { color: red; } .responsive #top #header #header_main .inner-container .widget > div .fa-envelope { color: blue; }
2.) And this css to increase the size of the logo.
.responsive #top #header #header_main .inner-container .logo { max-width: 340px; } .responsive #top #header .logo, .responsive #top #header .logo a, .responsive #top #header .logo img { width: auto; height: 156px; }
We recommend opening separate posts for each inquiry or question so that moderators could reply faster. Including multiple requests or inquiries in a single thread tends to be a bit more difficult and confusing for other users who might be looking for the same solution. Thank you for understanding.
Best regards,
IsmaelSeptember 21, 2020 at 9:23 am #1247288This reply has been marked as private.September 22, 2020 at 2:24 pm #1247629Hi,
Thank you for the update.
Yes, the css code should be added in the Enfold > General Styling > Quick CSS field or in the child theme’s style.css file if it is activated. After adding the css code, please toggle or temporarily disable the Performance > File Compression settings, and remove the browser cache to see the effect of the changes immediately.
Best regards,
IsmaelSeptember 23, 2020 at 4:26 pm #1247924This reply has been marked as private.September 24, 2020 at 11:16 am #1248113This reply has been marked as private.September 25, 2020 at 12:58 pm #1248431Hi,
Thank you for the update.
To create a border between the phone and email, please use this css code.
.topKontakt a { width: 215px; border-bottom: 1px solid; padding-bottom: 3px; display: block; } .topKontakt a:last-child { border-bottom: 0; }
And to adjust the border between the menu items, we could add this css code.
.av-main-nav > li { line-height: 55px; }
Best regards,
IsmaelSeptember 28, 2020 at 10:14 am #1248951This reply has been marked as private.October 1, 2020 at 12:47 pm #1249865Hi,
Thank you for the clarification.
In the previous css code, try to remove the border-bottom property or set it to zero and adjust padding-bottom value to increase the space between the email and mobile info.
.topKontakt a { width: 215px; border-bottom: 0; padding-bottom: 20px; display: block; }
For the main menu, the css code above should increase the height of the separators to 55px. If you would like to set the width of each item to 162px, replace the css code with this.
.av-main-nav > li { line-height: 55px; width: 162px; }
This might require adjustment on smaller screens using css media queries.
Best regards,
IsmaelOctober 2, 2020 at 1:34 pm #1250062This reply has been marked as private.October 2, 2020 at 1:57 pm #1250077This reply has been marked as private.October 5, 2020 at 7:47 pm #1250640Hi Ismael
Please could you look into these 2 issues as soon as possible?
I need to launch the site…
Thanks
&
Best regards
LeneOctober 7, 2020 at 12:16 pm #1251116Hi,
Sorry for the delay. We added all the latest css modifications in the Quick CSS field.
.topKontakt a { width: 215px; border-bottom: 0; padding-bottom: 14px; display: block !important; } .av-main-nav > li { line-height: 55px; width: 162px; } .responsive #top #header #header_main .inner-container .main_menu { flex-basis: auto !important; }
This code adjusts the icons in the header and the main menu. Please check the screenshot below.
Screenshot: https://imgur.com/a/3VzajmB
Best regards,
IsmaelOctober 7, 2020 at 4:33 pm #1251187This reply has been marked as private.October 8, 2020 at 11:17 am #1251374This reply has been marked as private.October 9, 2020 at 12:02 pm #1251674Hi,
For the hover effect, we could use this css code.
#top #header .av-main-nav > li:hover > a .avia-menu-text, #top #header .av-main-nav > li > a .avia-menu-subtext { color: #efebe8; }
And to correct the height of the sub menu, please add this one.
.html_header_sticky #top .main_menu ul:first-child > li .sub-menu a { height: 32px !important; line-height: 32px !important; }
If you have any additional questions at this time we kindly ask that you open them up in a separate thread. The longer threads get in the forum, they become more difficult to support as they tend to drift off topic and they also make it troublesome for users trying to search for solutions. Keeping threads relevant to their original inquiry ensures that we can keep better track of what has been resolved and that users can more effectively find answers to similar issues they might be experiencing.
Thanks!
Best regards,
IsmaelOctober 11, 2020 at 8:28 pm #1252081This reply has been marked as private.October 15, 2020 at 7:28 am #1252927Hi,
Sorry for the delay. We added this css code to adjust the width of the menu items when the screen width is less than 1366px.
@media only screen and (max-width: 1366px) { .av-main-nav > li { width: auto !important; } }
Best regards,
IsmaelOctober 15, 2020 at 10:52 am #1252975This reply has been marked as private.October 19, 2020 at 7:38 am #1253838Hi,
We will ask Mike to check the thread again. He seemed to have provided a lot of css customization, which totally changed the layout of the header.
The maximum container width is still set to 1310px, so it is the same as previously. You could add this css code to align the email and phone info to the first menu item, and the buttons to the last menu item, but this will only work on large screens, and so it will require extra adjustments on smaller screens.
#header #custom_html-4 { margin-left: 50px; left: 190px; } #header #custom_html-3 { margin-right: 50px; right: 170px; }
Best regards,
IsmaelOctober 19, 2020 at 11:39 am #1253906This reply has been marked as private.October 19, 2020 at 11:08 pm #1254172Hi,
Did you need additional help with this topic or shall this be closed?
Best regards,
Jordan ShannonOctober 21, 2020 at 10:14 am #1254595This reply has been marked as private.October 26, 2020 at 3:09 am #1255597Hi,
I believe this thread should be closed as it seems to be a duplicate of a currently active one.Best regards,
MikeOctober 26, 2020 at 10:33 am #1255668This reply has been marked as private.October 26, 2020 at 1:03 pm #1255690Hi,
We will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Changes to CSS’ is closed to new replies.