Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #21977

    We wanted to increase the width of the logo_container from 200px x 100px, to 622px x 100px.

    The documentation says to “…if your logo is larger you might need to modify style.css to align it…”

    However the commenting in “style.css” (which is blank) says not to modify or add to this file but add to “custom.css”

    Yet, in another location the documentation says to modify within the “function-set-avia-frontend.php” file. But we do not see a reference to the logo_container within that PHP file.

    The generated source code looks like this. Which of these objects would need to be edited to widen the area for the logo?

    <!– ####### HEAD CONTAINER ####### –>

    <div id=”header”>

    <div class=”container_wrap container_wrap_logo header_color light_bg_color”>

    <div id=”logo_container” class=”container”>

    <h1 class=”logo”>

    </img>

    </h1>

    <div class=”header_meta”></div>

    <div class=”sub_menu”></div>

    </div>

    </div>

    <!– end container_wrap–>

    <div class=”container_wrap container_wrap_menu header_color light_bg_color”></div>

    <!– end container_wrap–>

    <!– ####### END HEAD CONTAINER ####### –>

    Where, and in what file would we introduce that width change?

    Thanks!

    #113761

    Basically you don’t need to change the css code at all because the size of the surrounding div will change if you change the logo size. If your logo/image has a width of 622px the surrounding div will also have a size of 622px. However if you want to change the image size manually you can use following css code (insert it into the quick css field):

    #header .logo, #header .logo a {
    height: 200px;
    width: 622px;
    }

    #113762

    HI- so A few things. . .

    1.I wanted to add a header -basically a design I have all the way across the top

    2. remove the search bar just on the home page. want it on all interior pages.

    #113763

    1) Please elaborate – do you want to add a div / html element or just an image to the existing theme header (which contains the menu, logo, etc.)

    2) Open up header.php and replace:

    if(!avia_woocommerce_enabled() || avia_get_option('header_search') != 'product')
    {
    get_search_form();
    }
    else
    {
    get_product_search_form();
    }

    with:

    if( (!avia_woocommerce_enabled() || avia_get_option('header_search') != 'product') && !is_home() && !is_front_page() )
    {
    get_search_form();
    }
    else if( !is_home() && !is_front_page() )
    {
    get_product_search_form();
    }

    #113764

    1. I wanted to replace the entire heading including the logo- I’m going to have a programmer change the nav menu (too complicated for me) so that won’t be included.- but I know I may have to have him do the entire thing if it’s beyond my skill set : ) depending on if you can help.

    2. I don’t see this code. I’m using broadscope theme.

    thanks!

    #113765

    Hey!

    1) Ok, in this case I’d also ask the developer to change the entire header section.

    2) Search for

    get_search_form();

    and replace it with:

    if( !is_home() && !is_front_page() )
    {
    get_search_form();
    }

    Best regards,

    Peter

    #113766

    awesome! thanks!

    #113767

    Glad Peter could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Changing logo_container size in Replete Theme’ is closed to new replies.