ikaring
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to use grid view media library in wordpressHi.
It is handled by media-views.js.
The column number is set according to content width. Search formedia-frame-contentin the js file.Forum: Fixing WordPress
In reply to: Resize Medium size existing imagesHi, have you tried Regenerate Thumbnails plugin?
https://wordpress.org/plugins/regenerate-thumbnails/Forum: Fixing WordPress
In reply to: Adding Video header to twentysixteen-child themThen I would test if one/some of your plugins conflict.
Or make another child theme with only custom header setting.
In my local environment, child theme of TwentySixteen works OK.Forum: Fixing WordPress
In reply to: How to add multiple values in a custom post type and displayHi.
I’m not sure I get your intention, but isnt it better to use custom field or custom taxonomy for visiting day?
For example, when doctor A visit on Saturday and Sunday, check Saturday and Sunday checkboxes of visiting_day custom field in doctor A page.Forum: Fixing WordPress
In reply to: Adding Video header to twentysixteen-child themSorry thar I made typo:
please check if you have added the following code inside a function which hooked to after_theme_support. => hooked to ‘after_setup_theme’Anyway, firstly your functions.php has two of
add_theme_support( 'custom-header', ... ). Remove both of them, and replace function themename_custom_header_setup() with the following instead:function themename_custom_header_setup() { // Video custom header add_theme_support( 'custom-header', array( 'video' => true, ) ); } add_action( 'after_setup_theme', 'themename_custom_header_setup' );header.php looks ok for me, so let me see what happens to customize header media.
It seems better if you use DevTools (if your browser is Chrome) to see which css rules define background color by right click the element and “Inspect” it.
As to the first black menu buttons, these are the rules:
#main-nav .current_page_item a, #main-nav .current-menu-item a { background: #333; color: #fff; border-radius: 5px; }So add additional css like:
#main-nav .current_page_item a, #main-nav .current-menu-item a { background: blue; }Do this to all the elements you want to change.
Hi, it is not clear which button you want to change, but suppose that is right top humberger button.
Add the following css in the Additional CSS field under Appearance -> Customize.button#responsive-menu-button { background: blue; }Forum: Fixing WordPress
In reply to: Adding Video header to twentysixteen-child themHi, please check if you have added the following code inside a function which hooked to after_theme_support.
You can clone whole twentysixteen_setup function to child theme functions.php and add the code.add_theme_support( 'custom-header', array( 'video' => true, ) );Next, add
<?php the_custom_header_markup(); ?>in your child theme header.php.
You can replace<div class="header-image">...</div>with that.Forum: Fixing WordPress
In reply to: How to Edit one of the side menu items?👍
Forum: Fixing WordPress
In reply to: Category Title Hidden Behind ContentThe category page title is in
<header class="page-header>, and that is inside of<main id="masonry">.
Move<header class="page-header>outside of<main id="masonry">.
Or wrap<article>s after page title with<section id="masonry">, and removeid="masonry"from the main tag.Forum: Fixing WordPress
In reply to: Video block – how to add “playsinline” attributeLooks like this feature will be added in future WP upgrade.
Gutenberg plugin already has this, though.Forum: Fixing WordPress
In reply to: Nav walker: Display 3rd level items under 2nd levelIs it not a js/css issue?
Are the third level items generated in your html?If you can provide your site url, it would be much faster, I guess.
Forum: Fixing WordPress
In reply to: How to Edit one of the side menu items?Those right column items are manages by widgets.
See Appearance -> Widgets. There shoud be ‘Meta’ widget in Sidebar section.
If you want to add custom menus, you can use Navigation Menu widgets or Text widgets.Forum: Fixing WordPress
In reply to: Responsive menu button not clickableDont know why that happened, but pls check two points. Though these might not fix all the problems, it might change situation, I hope.
1. In settings page, Button tab -> Trigger (the very bottom), that should be ‘#responsive-menu-button’. Perhaps yours is ‘#click-menu’.
2. custom.css in your childTheme has the following rule:
#responsive-menu-container { display: none !important }Remove it.
Forum: Networking WordPress
In reply to: Multisite logo all linking to main siteThere is
network_home_url()for multisite.
Pls check out Codex below.https://codex.wordpress.org/Function_Reference/network_home_url