How to show Twenty-sixteen them menu under logo?

I try to change WordPress Twenty-sixteen them. I check the CSS carefully, can't finger out how could be the main menu display on the right of logo(and name of website). No float, no inline-block. I try to add float or display as block to menu and logo, doesn't work at all.How they do it?
Category: Web

WordPress default theme css units

Is there a specific rule the default WordPress themes follow for CSS units? I see em's on some font sizes and rems on others and px on certain places. Referred the following links but I couldn't find the actual reference to the rule they use for their CSS units: why does twenty eleven theme mix up the css measurement units? Why do Wordpress default themes specify fonts in so many places? Edit: By rule, I meant, for eg: Always follow …
Category: Web

How to remove "Category : ..."

I am using theme Twenty Sixteen. I created a menu using categories, and when I click on one and end up on a category page that has a "Category : ..." title. I would like to remove that title so that only posts are displayed. I found this similar post : Remove "Category Archives: title" at the top of a category page However, the theme files are not the same and I can't find a "category.php" file. Does anyone know …
Category: Web

Adding Bootstrap to WordPress TwentySixteen Theme

How can I add Bootstrap to the Wordpress TwentySixteen Theme without using a plugin? I've tried linking to the stylesheets and scripts within the header/footer, however the theme seems to override something, and I'm unable to get different Bootstrap elements to work on specific pages. For instance, I've tried to get the clickable tabs to work, but no luck. I've tried using the following code: http://jsfiddle.net/xfw8t/12/ While adding the CSS to the header and JS to the footer file: <link …
Category: Web

Jetpack infinite scroll not working on twentysixteen custom theme

I duplicated twentysixteen theme and only changed the name of the folder and the name of the theme in style.css. I then added in functions.php : function twenty_sixteen_infinite_scroll_init() { add_theme_support( 'infinite-scroll', array( 'container' => 'main', 'type' => 'click', 'posts_per_page' => '2', ) ); } add_action( 'after_setup_theme', 'twenty_sixteen_infinite_scroll_init' ); The older posts button appears but after I click it no more posts are loading. What am I missing? On the original twentysixteen the infinite scroll works well.
Category: Web

Include custom post type content in search

I created a custom post type (called 'produits') with the CPT UI plugin. I checked that both its parameters and Yoast SEO's allow custom post types to display in search results. I tried to use several methods to include the custom post types in the global search results, such as this one and this one, I tried to use plugins too (such as Relevanssi and Search Everything) : nothing worked. In the following code though, I can echo the array …
Category: Web

How to make the Primary Menu stay the same in the PC and mobile versions of the Twenty Sixteen theme

I'm new to WordPress, using which I was able to create this site over here: http://wtfai.pl/ It's almost complete, save for one change I would like to make: to make the Primary Menu stay exactly the same way it is visible now on PCs and mobile devices, so in a single line (it's just 3 positions after all), and aligned to center. I may perhaps want to shrink the text a little bit if it doesn't fit. Thanks in advance!
Category: Web

In twenty sixteen, show slider in homepage only

By using the twenty sixteen theme, I placed a "slider" short-code in the header.php section. The result, the slider position is where i want it, but it's showing on all pages. How do i achieve this by making the slider show on the homepage ONLY? The website is : http://www.pulaakufm.com/ Thank you.
Category: Web

Overwriting the menu break points of twentysixteen in child theme

I am currently working on a child theme with TwentySixteen being the parent. Currently in the functions.js file of TwentySixteen, it has a break point of 910 where the normal menu stops and the menu-toggle button displays instead. I need to reduce the width of this down to 810 but am unsure how to do this. Obviously i dont want to touch the TwentySixteen theme files.
Category: Web

Customising Breadcrumb NavXT

The plugin is working fine (thanks to them) but I'd like to customise it slightly. For example the following example trail is the default: Home > Report > July-2016 > Article 'Article' is not linked as we are already on that post/page. I would a) like to remove 'Article' from the trail as this is anyway the title of the post/page that sits just below the breadcrumb on my site b) potentially (just to see how it looks) replace 'Article' …
Category: Web

Child Header.php Not Showing On Other Pages

I created a child theme of the Twenty Sixteen Wordpress theme. I've read that I can edit the header.php file and it will change on all pages. My problem is, it is only changing for the home page. How do I get header to be the same on all pages? What I added to my child header.php file is: • A link in head tag for fonts • I added an additional header tag • I added an image to …
Category: Web

Why does twentysixteen take a free hand in dealing with longstanding usability principles?

In postings from 1996, Jakob Nielsen said that the research suggested that presenting visited and unvisited links in two separate colors is profoundly better than going with one-color-fits-all. He give sundry guidlines including having unvisited links look vibrant and alive and visited links look dull and washed out. Krug's Don't make me think! is inconsistent but in the last recent edition, he says to pick two colors and stick with them. Twentysixteen allows you complete freedom in choosing one color …
Category: Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.