How can I either move the nav bar down or create more space for the header? Theme – Ajaira

It looks like the background image was added to the tag inline. You will need to change the following: Locate your template file (probably header.php) which has the tag Inside style=”” remove background-size: cover and replace it with background-size:auto 100% then add background-position: center This will let the background image stretch to the height of … Read more

How to add or remove borders in navigation menu?

With CSS 3, you can use the :last-child or :last-of-type selectors: .is-frontend #content-holder .semplice-navbar nav ul li:last-child { border-right: 1px solid #000000; } However, you could flip this around to make it more backwards compatible using :first-child (which is available in CSS2): .is-frontend #content-holder .semplice-navbar nav ul li { border-left: 1px solid #000000; } .is-frontend … Read more

Best way to include pagination in a theme [closed]

Paginations mostly rely on the global $wp_query variable to generate the data. Using get_posts() will not generate that, because it returns an array of posts, not an instance of the WP_Query() class itself. As a result, you don’t have access to class’s methods, such as $query->max_num_pages. You can use a plugin to add pagination (such … Read more

Theme causing SSL break on chrome

Google has marked matx.coderpixel.com as a phishing site. That’s not your domain, of course. However you are using resources from that site. Specifically you are using several images from matx.coderpixel.com/wp/wp-content/uploads/2016/04, including android_phone.jpg, cloudy_hill.jpg, desk.jpg, keyboard.jpg, and man_with_ipad.jpg. It is a bad (and unless you have the rights to use these images, illegal) practice to serve … Read more

Where can I find the “add_action()” inside a theme?

There can be a case that theme implements hooks via do_action(“action_name”) but it’s not forced to bind actual actions to it, as theme’s developers might just did it to make theme more extensible, and in fact never use it inside theme. So you can just bind your own code via add_action(“colormag_before”, “your_function_name”) in a child … Read more

JQuery Error in theme for .live is not a function [closed]

If you asking what is the replacement for .live() it’s .on()`, for enabling event handling for dynamically added elements and that’s how you would use it. $(document).on(“click”,”#test-element”,function() {}); so for your code. $(‘body’).on(‘click’, ‘.top_add_card’, function(event){ var parent = $(this).parent(); var $this_btn = $(this); var $target_block = $this_btn.siblings(‘div’); event.preventDefault(); event.stopPropagation(); if(parent.hasClass(‘active’) && $target_block.hasClass(‘hm_active_prep’)){ $target_block.fadeOut(function(){ parent.removeClass(‘active’); } … Read more

What theme does this website use? [closed]

Looks like WP – BuiltWith shows WordPress and Elementor as of Feb 2020, and Elementor classes are visible via inspector There’s no way to see which theme it is (afaik), but it’s using Elementor, so it probably wouldn’t matter which theme it uses if you’re just looking to emulate its appearance. Also worth noting that … Read more