Toni
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty] Remove menu on one page (homepage)Hi Ian, yes, that and the line immediately below it.
Mmmkay, so I tried reverting to twentytwenty (instead of using my child theme) and noticed the same issue (even after clearing cache). This is what I see (screenshotted from the customisation screen, though representative of what I see when I access the website via my mobile):
Mobile
Tablet
Ideally, I’d like to learn how to move the menu to the right of the screens or just simply position the menu items above the social menu so that they are visible. Any help would be most appreciated.
Hi Michelle,
I changed
<div class="site-branding"> <?php if ( is_front_page() && is_home() ) : ?> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <?php else : ?> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> <?php endif; $description = get_bloginfo( 'description', 'display' ); if ( $description || is_customize_preview() ) : ?> <p class="site-description"><?php echo $description; ?></p> <?php endif; ?> <button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button> </div><!-- .site-branding -->
from the original Twenty Fifteen theme in header.php to
<div class="site-branding"> <?php if ( is_front_page() && is_home() ) : ?> <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?><img src="image.png" height="151" width="248"></a></h1> <?php else : ?> <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?><img src="image.png" height="151" width="248"></a></p> <?php endif; $description = get_bloginfo( 'description', 'display' ); if ( $description || is_customize_preview() ) : ?> <p class="site-description"><?php echo $description; ?></p> <?php endif; ?> <button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button> </div><!-- .site-branding --> </header><!-- .site-header -->
(where “image.png” is the location of my site’s logo) in my child theme. I decided to take out the words in the site title because they weren’t needed.
Hope that helps!
stephencottontail, I can but the site is members only so you’re not going to be able to see the relevant content. I can create a dummy membership if you’re keen to take a closer look?
Hi Bojan,
This didn’t work for me – the category meta is still showing up both on my blog page and single post page.
I’m not too sure how to strip out just the category meta in the suggestion that musictomy offered but would be keen to give this a try if anyone is able to help me figure out what I need to know.
Thanks heaps to both of you for your suggestions so far!
I found this which seems to have solved the issue. ??
Make that
.site-info {text-align:center !important;}
??Haha, oh wait – I just changed something else in the CSS and noticed that the only thing I could think to try for the footer seems to have worked.
`.site-title {text-align: center;}’
So simple. I don’t know why it wasn’t working for me before!
Thanks escritorjaru!
Hey escritorjaru,
Thanks for the reply. I decided to try playing around with the header.php in my child theme – I didn’t want a background image (which is what customising the header created), just a small logo to sit above the words in the site title. (Was also concerned that creating a header image and adding my logo to the top of it would impact how it is viewed on other devices…) A bit of playing around got me the results I wanted.
Still having trouble with centering the text in the footer, though. :/
Oh – to be a little clearer: my website’s post readers are only able to see specific categories. While labelling a post with a parent category is useful for me, it means that those who can only see specific subcategories are missing out on some information that is relevant to them.
Thanks for your help. ??
I was actually hoping that there would be a way that I could click on the parent category (ie. Fruit) and have all of the subcategories (ie. Kiwi, Apple, Peach, etc.) automatically selected as well.
The hope is that this will save time, especially when some categories might have 30 or more subcategories… click one button and all subcategories are selected.
While it’s useful to be able to click on the parent category and see all posts that have been added to subcategories, I’d like to be able to make the process of writing posts a little easier as well.