Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1283383

    Hi,

    I want to add the code from a plugin in the header of Enfold. See the screenshot here https://ibb.co/ScGWwLD

    How could I do this easily? Using a header widget? Or what file would I need to add the plugin short code to? I want the search box to search for products to float to the center when it is viewed on a tablet or phone.

    Thanks!

    #1283785

    Hey natas442,

    Please try adding a widget area to the header: https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area. We can help you out with styling if we can see the actual element on your site.

    Best regards,
    Rikard

    #1283889

    I managed to figure it out, however I do need CSS styling help. The search box looks good on a desktop. However on mobile devices (tablet and phone) it looks horrible. The search box or widget looks too thin and seems to span the entire width of the mobile devices screen. Can styling be done to if a mobile device is used? Thanks very much

    #1283928

    Oh, another thing I noticed is that with the header widget inserted, the page titles are not visible. Do you know how I can get the page titles visible again:?

    https://www.mailboxesbybathx.com/product-category/replacement-mailboxes/1400/

    #1284205

    Hi,

    Thanks for the update. Please try the following in Quick CSS under Enfold->General Styling:

    @media only screen and (max-width: 767px) {
    #top #header .widget {
        position: absolute;
        top: 100px;
        z-index: 99;
        left: 0;
    }
    #ajaxsearchpro1_1 {
        width: 100%;
    }
    }

    Best regards,
    Rikard

    #1284211

    Thanks! That kinda worked. However it seems that the hambuger menu is now, skewed.

    http://www.responsinator.com/?url=www.mailboxesbybathx.com

    Is there a way to make the search box (Header widget) not go 100% on mobile devices?

    #1284214

    Oh, one more thing. My menu is too tall in height

    search

    See here indicate by the red lines. Can that be fixed? Thanks

    #1284215

    Sorry wrong image in previous post

    The menu is too tall now. Indicated by the red lines https://ibb.co/jgtM9NN

    Thanks

    #1284379

    Hi,

    Please try this CSS as well:

    @media only screen and (max-width: 767px) {
    #top #header .main_menu {
        background: transparent;
    }
    }

    I can’t reproduce the results which are shown in your screenshot on your actual site, please try loading it in an incognito or private browser window to see if that helps.

    Best regards,
    Rikard

    #1284381

    Almost there!

    http://www.responsinator.com/?url=www.mailboxesbybathx.com

    If you check the above site, all are good! Except the ipad portrait mode. That seems broken.
    http://www.responsinator.com/?url=http://www.mailboxesbybathx.com&device=ipad&orientation=portrait

    #1284742

    Hi,

    Your logo stretches across the screen on tablet sizes, and this CSS seems to be causing that:

    .logo a img {
        width: 710px;
        height: 94px;
    }

    Did you add that? If so then please try to adjust it in a media query:

    @media only screen and (min-width: 768px) and (max-width: 1024px) {
    .logo a img {
        width: 710px;
        height: 94px;
    }
    }

    Otherwise the burger menu won’t have any room on the right hand side of the screen.

    Best regards,
    Rikard

    #1284749

    Yea, Thanks! I got the CSS straighten out. I think I had too many CSS snippets in the code. Now its perfect! Thanks for your support!

    #1284793

    Hi natas442,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.