Move main menu to top of screen

This is a two step solution: Install plugin “Options for Twenty Seventeen” (Link) Add the following CSS to “Design” > “Customizer” > “Additional CSS” .navigation-top { position: fixed; bottom: auto; left: 0; right: 0; top: 0; width: 100%; } .custom-header { padding-top: 50px; }

How to change wordpress registration form submit button value?

you would have many options to change button text like jquery and if you know about that registration form from where it is coming from. By using jquery you would have to add below code at the end of the footer.php file like as below: <script> $(document).ready(function(){ // Change text of input button $(“.ur-submit-button”).prop(“value”, “Input … Read more

How do i make a sidebar background color? [closed]

The simplest way to create the solid color side bar is with this CSS: #branding { background-color: #ffffff; } #page { background: #ffffff url(path_to_image) repeat-y; } Replace #ffffff with the appropriate color used in your template (if they are different). The “path_to_image” would need to be pointed to an image file that is 1000px wide … Read more

How to remove automatically added

I afraid that added by some custom function or JavaScript because WordPress never add that tag by default. So use CSS to hide that element if you don’t find that script

How do I show a button only on my custom template page?

It’s as simple as doing a conditional and check if you are on home. What you are looking for is is_page_template( );. Wrap your button inside it as follows: <?php if( is_page_template( ‘your-template-slug.php’ ) ){ ?> <button name=”button” style=” … ” value=”OK” type=”button”>HAVE A QUESTIONS</button> <?php } ?>

custom css in admin panel by user id

Use below code into functions.php file. Make sure you are using it right way use admin_enqueue_scripts add_action(‘admin_enqueue_scripts’, ‘FUNCTION_NAME’);function FUNCTION_NAME() { global $current_user; $user_id = get_current_user_id(); if(is_admin() && $user_id == ‘2’){ wp_enqueue_style( ‘admin_css’, get_template_directory_uri() . ‘/admin-style.css’, false, ‘1.0.0’ ); }}

Bootstrap 4 Optimization

You just make a big mistake. use this guideline. header.php <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css” integrity=”sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm” crossorigin=”anonymous”> You also made a mistake calling js file. Frist needs jQuery then popper.js then bootstrap and the big mistake is you call all of them in the header file, that’s why when the page is loaded it takes time to … Read more

Browser stacks different versions of style.css

The problem comes from that the parent style is loaded twice : one with version (‘?ver=1.0 etc, first on your picture and loaded by your parent theme with versionning on wp_enqueue_style ), another without (the second on your picture, called by your function php). To solve this : remove wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); … Read more

Use of CSS classes in editor-blocks.css file

Searching the editor source code: https://github.com/WordPress/gutenberg does not show much results. I suggest search the theme source code these classes to see where they are applied. (If you press . while viewing the code on github you will get a VSCode editor) register_block_type is used to add the block date in WordPress. Typically with these … Read more