Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1431949

    hi there how can I increase the font size of the phone number and social icons in the Small bar above Main Menu? There seems to be every other setting I can edit for this section except font size.

    Also why don’t the social icons show on mobile? No matter which options in the Header . extra elements settings for positioning the social icons don’t show.

    Cheers
    Natasha

    #1431968

    Hey xfacta,

    Thank you for the inquiry.

    You can use the following css code to adjust the style of the elements inside the header meta or the small bar above the main menu.

    #top #header_meta a, #top #header_meta li, #top #header_meta .phone-info {
        text-transform: uppercase;
        letter-spacing: 0.02em;
        font-weight: 300;
        text-decoration: none !important;
    }
    
    #header_meta .sub_menu {
        float: left;
        z-index: 2;
        font-size: 1.2em;
        line-height: 30px;
        position: relative;
        top: 10px;
    }
    
    #header_meta .phone-info {
        float: left;
        font-weight: bold;
        line-height: 20px;
        font-size: 1.2em;
        padding: 5px 0;
    }
    

    And to re-enable the social bookmarks on mobile view, you can include this css code.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive #top #wrap_all #header .social_bookmarks,
      .responsive #top #wrap_all #main .av-logo-container .social_bookmarks {
        display: block;
      }
    }

    Best regards,
    Ismael

    #1431979

    Thanks so much – so it has to be done as quick css and no other way?

    Also I’m just unsure which part does what. So what part handles the font size of the actual phone number and what part the sze of the social icons?

    And how can I add some extra padding top and bottom (above and below) the text on mobile. And the settings for position in the Theme Header now no longer seem to change anything -so which part of this code overrides that setting? Plus the social icons are showing in the Main Header area on mobile and I havent set them for there just want them to display in the top bar.

    Cheers
    Natasha

    #1432112

    Hi,

    Thank you for the inquiry.

    The css rule for the phone number should have the selector “phone-info” and “social_bookmarks” for the social icons. To hide the duplicate social icons in the main header container, please edit the last css code that we provided above and replace it with the following.

    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive #top #wrap_all #header_meta .social_bookmarks {
        display: block;
      }
    }
    

    Best regards,
    Ismael

    #1432322

    Great thanks for that it worked.

    And sorry just back to the css rule for the phone number and the social icons – none of the first lot of code has any mention of just “social_bookmarks” for the size changes though – only the phone number?

    #1432323

    One more thing – I dont want any lines between the social icons in the top bar, so I had to make the border color the same as the background color for that area. however that then makes the border that color (a green) have lines around the menu. It doesnt seem to matter what setting I have the Header style as. Is there a way to have no border color for the Logo area – General Styling – Logo area?

    #1432341

    Hi,

    Thank you for the update.

    To adjust the style of the social icons, you can use this css code.

    #top #header_meta .social_bookmarks li a {
        float: left;
        width: 30px;
        line-height: 30px;
        display: block;
        margin: 0px;
        outline: none;
        padding: 0;
        min-height: 30px;
        height: 100%;
        overflow: visible;
        z-index: 2;
        position: relative;
        text-align: center;
    }

    Would you mind providing a screenshot of the issue? Or post the site URL in the private field so that we can check the current header layout and settings.

    Best regards,
    Ismael

    #1432345

    Hi there
    Thanks for that. Info provided – link and screenshots. I just want the Logo area Border Color to have no color at all so it works for both the top header area and the menu area.

    Cheers
    Natasha

    #1432467

    Hi,

    Thank you for the screenshots.

    Please keep border color set to white, then add this css code to remove the lines between the social icons.

    #top .social_bookmarks li {
        border-color: transparent;
        border: none;
    }

    Best regards,
    Ismael

    #1432551

    hey Ismael

    great thank you that works on desktop, but for some reason now on mobile there is a black outline around the social icons?

    Just on the size of the social icons – I’m not sure which of these settings I need to adjust to make the size of the social icons larger? I’ve tried a few combos and it just moves the position of them not make them any bigger?

    #top #header_meta .social_bookmarks li a {
    float: left;
    width: 30px;
    line-height: 30px;
    display: block;
    margin: 0px;
    outline: none;
    padding: 0;
    min-height: 30px;
    height: 100%;
    overflow: visible;
    z-index: 2;
    position: relative;
    text-align: center;
    }

    Cheers
    Natasha

    #1432689

    Hi,

    Thanks for the update.

    You can include this css code to remove the borders on mobile view and adjust the size or styles of the social icons.

    
    @media only screen and (max-width: 767px) {
    
      /* Add your Mobile Styles here */
      .responsive #header_meta .social_bookmarks li {
        border: 0 !important;
      }
    
      #top #header_meta .social_bookmarks li {
        margin-right: 10px;
      }
    
      #top #header_meta .social_bookmarks li a {
        float: left;
        width: 40px;
        line-height: 40px;
        display: block;
        margin: 0;
        outline: none;
        padding: 0;
        min-height: 30px;
        height: 100%;
        overflow: visible;
        z-index: 2;
        position: relative;
        text-align: center;
        font-size: 30px;
      }
    }

    Increase the font size value further if you want to make the social icons bigger.

    Best regards,
    Ismael

    #1432971

    great thank you :-)

    I’m trying to have different font sizes in a text block that display on desktop and smaller on mobile and trying to use the “Font sizes” – “Textblock Font Sizes” and changing smaller screens settings to 20px for Font Size for small screens (between 480px and 767px – eg: Tablet Portrait) and Font Size for very small screens (smaller than 479px – eg: Smartphone Portrait) but its not making it any smaller than the default (which is what I want for larger screens.

    cheers
    Natasha

    #1433520

    Hi,
    Do you want a different font sizes for the text in your topbar or do you mean for a text element on your page?
    The “Font sizes” – “Textblock Font Sizes” and changing smaller screens settings should work if it is in a text element on your page.
    Try disabling any caching plugins and check again. Also note that if you have set the font size in the Enfold Theme Options ▸ Advanced Styling, or with custom css, this may override the element setting.
    If this doesn’t help please include an admin login in the Private Content area and tell us which text block you are working on so we can check.

    Best regards,
    Mike

    #1433617

    Hey Mike

    This is for a text element on a page.
    I tried deactivating the caching plugin but it still didn’t change anything on mobile. I do have advanced styling set for the H tags.

    So is there any other way I can achieve what I want? I’m wanting to have some text over an image on my homepage like a banner – and I need the text to be the H1 tag. On desktop I want this text font size nice and big but want it to proportionally display on mobile – so not the same font size as its too big. Any suggestions how I can achieve this?
    Cheers
    Natasha

    #1433681

    Hi,
    You could try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    #top #wrap_all .all_colors #av_section_1 h1 {
        font-size: 35px;
    }
    }

    It will make the H1 text at the top of the page linked below 35px on mobile instead of the 65px that it is now on desktop.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1433749

    hey Mike

    brilliant that worked – thanks so much :-)

    Cheers
    Natasha

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Small bar above Main Menu – font and icon size’ is closed to new replies.