Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #424805

    1. Using one of your suggestions(#378873), I put below attempt into functions.php, hoping to put a color line under the menu.

    add_filter(‘avf_title_args’, ‘avf_title_args_append’, 1);

    function avf_title_args_append($args) {
    //if(is_home() || is_front_page()) return;
    //$banner = “<div class=’container_wrap append-content’>”;
    $banner = “<div class=’container_wrap append-content’>”;
    //$banner = “<div class=’container’>”;
    $banner = “<div class=’container’ style=’background-color:yellow!important;width:100%!important;min-width:100%!important;’>”;
    //for testing, put in the span — was just “banner here”.
    $banner .= ‘<span>For avf_title_args FILTER HERE</span>’;
    $banner .= “</div>”;
    $banner .= “</div>”;
    $args[‘html’] = “<div class='{class} title_container’>cat<div class=’container’>dog<{heading} class=’main-title entry-title’>lizard{title}</{heading}>{additions}</div></div>Bannerrighthere{$banner}”;
    return $args;
    }

    This filter does indeed create the color line (the cat, dog, lizard, bannerrighthere — and odd colors — were to help me figure out my problem and your solution,)

    2. But…since I want to hide the title and the breadcrumbs, I then went into Enfold -> Header and turned both of them off.

    3. As soon as I turn off title/breadcrumbs… the #1 color line attempt — which DID work — disappears. Is there a way to do both the first and second items?

    4. Also, is it possible to I put in an easyslider and change its top so it will “sit” up into the (hopefully created) color line?

    Please let me know if you have any other ideas — I did try some of the other message suggestions in the knowledgebase, but they seemed to have the same idiosyncracy of disappearing when the title and breadcrumbs are hidden.

    Thanks!

    #424960

    Hi CharlieTh!

    I see in the link provided the general customization your trying to do. It’s going to take a lot of work so it would be best to hire a freelancer to help you out.

    If you’d like to try and work on it yourself then send us a link to your page and take a screenshot highlighting exactly how your wanting it to look and we’ll see if we can give you some CSS to use.

    Regards,
    Elliott

    #424968

    Okay, maybe I can do ONE part.

    I would like to put a color bar (or image or whatever — some html) UNDER the menu.

    I see how to add it via functions.php in earlier messge…but when I turn off breadcrumbs and title, the addition goes away.

    Am I trying to filter in wrong location?

    Basically, I want html below menu and above content of page.

    SHOULD I do this with template change?

    If so can you direct me which template I want to change? Don’t see in header,php precisely where menu comes in.

    I can play around with the page if I know which one I should be playing with.

    Then, if I have further more simple questions, I might be able to ask you again?

    Thanks for any direction.

    I tried adding widget in header, per one very clear message, but this really puts html in wrong location…I need this segment UNDER the header, not WITHIN the header.

    #425415

    Hi!

    I’m not sure. Can you send us a link to your page? That will help us out quite a bit in understanding what your trying to do.

    It sounds like what you would want to do is add the widget area to your header and then use CSS to move it below your menu. Send us a link to your page and take a screenshot highlighting exactly what your trying to do so we can get a better idea.

    Best regards,
    Elliott

    #425649

    Thanks, Elliott. I’ll work on it more exhaustively and start a new message when it’s ready for further input. Please close this subject in the meantime.

    Again, thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Add color bar under menu – without showing title and breadcrumbs’ is closed to new replies.