• Resolved edb

    (@edb)


    Thank you for sharing your atomic theme. I appreciate it’s minimal and easily customizable style. I’m new to creating a WP site and have a few questions that are probably a bit simple:

    • The header image of the pink sea anemones: How does one change/eliminate that picture? I don’t see it referenced anywhere in a customized panel or atomic options.
    • The text box/link in the upper left: I see how to change it in the atomic options but when I try to eliminate it The box and link remain. How do I delete the whole thing? Is it in the CSS?
    • In preview mode, the menu is under a three bar click and display symbol yet when the site is actually loaded, the menu displays across the top and the three bars are missing. How do I choose the three bars at all times?
    • Thanks for any help you might be to give.
      Ed

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Kyle Gabriel

    (@kizniche)

    Hi Ed,

    To edit the header image, go to Appearance -> Customize -> Header Image
    Also, the header image is of pink oyster mushrooms I grew ?? (They’re very tasty when grilled or fried)
    This is something I added to the next version of Atomic, in Atomic Options (a brief note explaining to go the the Customize menu to change the header image)

    It appears you have found a bug in Atomic that prevents the box form being removed after removing the text (which it’s supposed to do). I will fix this in the next update, but for now, to remove the box, do the following:
    1. (Optional) Create a child theme to prevent your changes from being overwritten when you receive a theme update (however this will be incorporated in to the next update, so it’s not crucially important)
    2. Go to Themes -> Atomic Edit, then select Header.php to edit
    3. Delete the following code: (Note: delete only form <h1… to </h1> to remove only the box, and remove only from <h2… to </h2> to remove only the description. Remove the entire code below to remove both the box/title and description.)

    <div class="site-branding">
    				<h1 class="site-title"<?php
                    if ( of_get_option( 'header_title_size', '' ) ) {
                        echo " style=\"font-size: " . of_get_option( 'header_title_size') . "rem;\"";
                    }
                    ?>><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    				<?php
                    if ( get_theme_mod( 'logo' ) ) {
    					echo '<img src="' . esc_url( get_theme_mod( 'logo' ) ) . '" alt="' . get_bloginfo( 'name' ) . '" />';
    				} else {
    					if ( of_get_option( 'header_title_text', '' ) || of_get_default('header_title_text') ) {
    						echo of_get_option( 'header_title_text', of_get_default('header_title_text') );
    					}
    				} ?></a></h1>
    				<h2 class="site-description"<?php
                    if ( of_get_option( 'header_description_size', '' ) ) {
                        echo " style=\"font-size: " . of_get_option( 'header_description_size') . "rem;\"";
                    }
                    ?>><?php
                    if ( of_get_option( 'header_title_text', '' ) || of_get_default('header_description_text') ) {
                        echo of_get_option( 'header_description_text', of_get_default('header_description_text') );
                    } else bloginfo( 'description' );
                    ?></h2>
    			</div><!-- .site-branding -->

    4. Select “Update File”

    The three-bar menu only displays when the resolution is low (on a tablet or phone, for instance). When the resolution is high, the menu displays normally. You can see this in action by using your browsers zoom feature, when you zoom out it should display the whole menu and as you zoom in, it should change it to the three-bar menu.

    Let me know if this answers your questions.

    Kyle

    Theme Author Kyle Gabriel

    (@kizniche)

    To make the three-bar menu appear at all times, it’s easiest to just increase the min-width of the following lines, from style.css, to something very large like 3000 or 4000:

    @media screen and (min-width: 3000px) {
    .main-navigation {
        background:transparent;
        position:relative
    }
    }
    
    @media screen and (min-width: 3000px) {
    .main-navigation a {
        color:#fff;
        padding:6px 0;
        margin-right:25px;
        margin-top:5px;
        border-bottom:none
    }
    
    @media screen and (min-width: 3000px) {
    .main-navigation {
        display:block;
        float:right;
        padding:0;
        text-shadow:1px 1px 0 rgba(0,0,0,0.1)
    }

    There hasn’t been a reply, and I think with this last post, I’ve answered all your questions, so I’ll mark this as resolved. Let me know if you have any other questions.

    Kyle

    Thread Starter edb

    (@edb)

    Thanks for the replies, Kyle. You’ve been more than helpful. I’ll report back after I’ve made the changes. –Ed

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Header image, top left text box, menu display’ is closed to new replies.