niyaswp
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Image gallery not showing properlySounds good!
Forum: Everything else WordPress
In reply to: How to remove gap between menu header and page coverHi @hye9966
Glad it worked!
Forum: Fixing WordPress
In reply to: Image gallery not showing properlyPlease use this code:-
body.single-product div.woocommerce-product-gallery .woocommerce-product-gallery__image{ width: 50% !important; float: left; }
Forum: Everything else WordPress
In reply to: How to remove gap between menu header and page coverHello @hye9966
Kindly use this code to remove that empty space:-
body header#masthead { margin-bottom: 0 !important; }
Hope this helps!
Forum: Accessibility
In reply to: Insight page Seed IssueHi @shafat786
To increase your website performance, you can try some cache plugins. I recommend the following plugins
1. WP Rocket
2. LiteSpeed Cache.
You should also remove unnecessary plugins from your site.
Forum: Developing with WordPress
In reply to: User lost Password Redirect to wp-adminHello @sajjadansari
No worries! You can use the following snippet to change the lost password page URL:-
add_filter( 'lostpassword_url', 'wdm_lostpassword_url', 10, 0 ); function wdm_lostpassword_url() { return site_url('/wp-login.php?action=lostpassword'); }
I hope this helps.
EX:- https://h2opureblue.com/wp-login.php?action=lostpassword
- This reply was modified 1 year, 5 months ago by niyaswp.
Forum: Developing with WordPress
In reply to: Change hover color of ‘post comment”-buttonGlad it worked!
Forum: Fixing WordPress
In reply to: Link beginning with api. (Whatsapp) no longer displayed in menuHi @shinanqu
Please use this code to fix it:-
body nav#top-menu-nav li i.fa-brands.fa-whatsapp { font-family: "Font Awesome 5 Brands" !important; font-style: normal !important; }
Forum: Developing with WordPress
In reply to: Change hover color of ‘post comment”-buttonHi@selectedbymila
No problem, kindly use this code:-
body form#commentform .wp-block-button__link:hover{ background-color: red !important; }
You can change the color as required.
Forum: Fixing WordPress
In reply to: How can I play the video from another site on the website?Hi @turkuaz1
Kindly use the following snippet:-
function _embed_video($atts){ $output = ''; $url = $atts['url']; if( !empty($url) ){ $output = '<iframe width="100%" height="600" src="' . $url .'" title="Video player" frameborder="0" allowfullscreen="true"></iframe>'; } return $output; } add_shortcode('_embed_video', '_embed_video');
You need to use the following shortcode:-
[_embed_video url="https://www.dailymotion.com/embed/video/x8ksmt6"]
You can use any URL as required (Youtube, Dailymotion, Instagram). Anywhere you want, you can use this shortcode.
Forum: Fixing WordPress
In reply to: Only one user receive critical errorHi @fullctrl
You need to enable debug mode, kindly follow these steps:-
Enabling DEBUG mode
- Log into your server via SSH or FTP.
- Edit the?wp-config.php?file using?SSH or your FTP client.
- Near the bottom of the file you’ll see the following:-
define('WP_DEBUG', false);
- Adjust that line to these three lines:-
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', true );
This will help you identify where the problem is coming from. Once you find it, get in touch with the plugin’s support team.
- This reply was modified 1 year, 5 months ago by niyaswp.
Forum: Fixing WordPress
In reply to: Font size page headers Twenty elevenHi @keirvt1
Sorry, I didn’t notice your message. Please try this code:-
body div#main, body div.entry-content, body div#content article { padding: 0 !important; }
Forum: Everything else WordPress
In reply to: Centering background colour on menu itemHi @tracyhbs
My pleasure!
Forum: Everything else WordPress
In reply to: Centering background colour on menu itemHi @tracyhbs
No problem!
Kindly use this code:-
body nav#top-menu-nav li#menu-item-843 a { padding: 8px !important; }
Forum: Fixing WordPress
In reply to: Font size page headers Twenty elevenHi @keirvt1
No worries!
The following custom CSS will change the page title on all pages:-
body .entry-title { font-size: 22px !important; }
You can change the font size as required, hope you find this helpful.