Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #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 right

    2)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
    Lene

    #1247254

    Hey 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,
    Ismael

    #1247288
    This reply has been marked as private.
    #1247629

    Hi,

    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,
    Ismael

    #1247924
    This reply has been marked as private.
    #1248113
    This reply has been marked as private.
    #1248431

    Hi,

    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,
    Ismael

    #1248951
    This reply has been marked as private.
    #1249865

    Hi,

    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,
    Ismael

    #1250062
    This reply has been marked as private.
    #1250077
    This reply has been marked as private.
    #1250640

    Hi Ismael
    Please could you look into these 2 issues as soon as possible?
    I need to launch the site…
    Thanks
    &
    Best regards
    Lene

    #1251116

    Hi,

    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,
    Ismael

    #1251187
    This reply has been marked as private.
    #1251374
    This reply has been marked as private.
    #1251674

    Hi,

    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,
    Ismael

    #1252081
    This reply has been marked as private.
    #1252927

    Hi,

    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,
    Ismael

    #1252975
    This reply has been marked as private.
    #1253838

    Hi,

    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,
    Ismael

    #1253906
    This reply has been marked as private.
    #1254172

    Hi,

    Did you need additional help with this topic or shall this be closed?

    Best regards,
    Jordan Shannon

    #1254595
    This reply has been marked as private.
    #1255597

    Hi,
    I believe this thread should be closed as it seems to be a duplicate of a currently active one.

    Best regards,
    Mike

    #1255668
    This reply has been marked as private.
    #1255690

    Hi,
    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

Viewing 26 posts - 1 through 26 (of 26 total)
  • The topic ‘Changes to CSS’ is closed to new replies.