Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #259323

    hi

    i am using the enfold theme for my corporate website
    i faced a problem
    i want to increase the height where my logo is but without increasing the size of the logo

    i did a search in this forum
    and got this
    /*default header: main logo and main menu height. increase max value if you want to use a bigger logo*/
    #header_main .container, .main_menu ul:first-child > li a{ height:88px; line-height: 88px; }
    if i change the height 88px to another number like 128, sure enough the height increases which is what i want
    but i dont want the logo size to increase also
    is there a way to increase the height and the logo size remains the same
    any help will be much appreciated
    thank you

    my web is http://www.goldrise.com.sg

    #259371

    Hi anakinroy!

    You can add following code to Quick CSS in Enfold theme options under General Styling tab to adjust the size of your logo

    .logo img { max-height: 70%; }

    Regards,
    Yigit

    #259438

    hi
    it works great
    but another questioner
    after extending the header, the logo is not sitting in the center
    how to shift the logo down so that its in the center of the extended header?

    #259730

    Hey!

    Please add following code to Quick CSS as well

    .logo img { margin-top: 20px; }

    Best regards,
    Yigit

    #260072

    wow

    great, it works

    thank you so much

    #260080

    hi again

    now i am using a custom color for the menu bar from the css below
    #header_main_alternate, .bottom_nav_header.social_header .main_menu ul:first-child {
    background-color: rgba(0,0,0,0.3);
    }

    i wanted a transparent black menu bar, but after going through many diff rbga, it renders gray when i set the opacity lower
    i assume there is no color code for transparent black
    so my question is
    can i upload a transparent black image to the web and use css to use the image file?
    and the menu words will sit nicely on the image?

    second question

    i tried shifting the menu bar down so that it overlaps the slider
    #header_main_alternate {
    margin-top: 35px;
    margin-left: 0px;

    }
    and then using the sticky header option
    it works
    but it leaves behind a white line and area previously occupied by the menu
    any ways to remove it cause the area becomes redundant

    my end result is a black transparent menu bar overlapping the slider at the top of the slider

    thank you so much again in advance

    #260081

    something to add on
    i can only add sticky header option so that the css
    #header_main_alternate {
    margin-top: 35px;
    margin-left: 0px;

    }
    moves the menu bar down to overlap the slider
    but by sticky header, it affects all the other pages which i dont want

    so can i sticky the homepage only to have the menu bar sitting on it
    or is there another method where the menu bar only shifts down on the homepage and remain the same in the other pages?

    thank you again

    please take a look at my web
    http://www.goldrise.com.sg and http://www.goldrise.com.sg/aboutus

    • This reply was modified 11 years, 2 months ago by anakinroy.
    #260090

    Hi!

    1) If you want to get rid of the extra space insert this code into the child theme:

    
    #header_main_alternate {
    margin-top: 0;
    }
    

    2) You should be a able to apply a semi transparent background to the header menu dev without any images – try this code:

    
    .header_color .header_bg, .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
    background-color: rgba(0,0,0,0.5);
    }
    

    Maybe you need to remove some elements from the selector but it should give you a good starting point.

    Cheers!
    Peter

    #260165

    sorry
    .header_color .header_bg,
    .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
    background-color: rgba(0,0,0,0.5);
    }

    this changes the top part where the logo is, to black also
    can i just change the menu bar only?

    i tried removed
    .header_color .header_bg,
    or
    .header_color .main_menu .menu ul li a,
    or
    .header_color .main_menu ul ul,
    or
    .header_color .pointer_arrow_wrap .pointer_arrow,
    or
    .header_color .avia_mega_div

    still renders the whole header black or transparent white
    but i only want the menubar transparent black

    • This reply was modified 11 years, 2 months ago by anakinroy.
    #260183

    and one more question

    instead of moving the header down
    whats the css to move the layerslider up?

    #260195

    but dude
    i dont know why
    but ur opacity is what i want
    but if only it can be for the menu bar only like what i am using now

    big thank you if u can help me out
    almost there with the header problem

    #260564

    anyone can help me with the
    .header_color .header_bg,
    .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
    background-color: rgba(0,0,0,0.5);
    }

    i just want the same opacity but only the menu bar black transparent

    #260810

    Hi!

    0,0,0 is RGB value of color black and 0.5 is opacity level. You can adjust opacity level between 0-1.

    Cheers!
    Yigit

    #261094

    thanx
    but one last question

    .header_color .header_bg,
    .header_color .main_menu ul ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
    background-color: rgba(0,0,0,0.5);
    }

    and

    #header_main_alternate, .bottom_nav_header.social_header .main_menu ul:first-child { background-color: rgba(0,0,0,0.5); }
    renders to different results
    the top, provided by dude is more of a transparent black
    the bottom renders a transparent gray
    thats what i am puzzled about

    • This reply was modified 11 years, 2 months ago by anakinroy.
    #261098

    That’s expected, the rbga values are different one is 0.3 and the other one 0.5.

    Regards,
    Josue

    #261106

    my bad
    i mean they are both 0.5
    one is closer to transparent black
    another is transparent gray

    #261111

    the enfold layerslider has right n left arrows
    the transparent black appears when u cursor over the arrows
    thats the effect i want

    #261115

    my current menu bar is too much transparent gray
    when slider changes to black pic
    the gray is very obvious
    but if use dude’s codes
    the effect changes
    but dude’s codes changes the top header and menu bar
    i only want the menu bar to be transparent black
    like the right and left hover arrows in the slider

    i am using dudes codes now
    i want the top header(the part where the logo is) i want that part to be #f0f0f0

    • This reply was modified 11 years, 2 months ago by anakinroy.
    #261141

    nevermind everyone

    problem resolved by inspecting with chrome

    thank you all

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘header height increase’ is closed to new replies.