Mark a page of a queried menu as active
The code above is correct and includes the answer. I’ve added a function with a genesis hook to enwrap it so it should just work with copy-past.
The code above is correct and includes the answer. I’ve added a function with a genesis hook to enwrap it so it should just work with copy-past.
My Webhoster has enabled mod_pagespeed by default. I had to turn this off via entering ModPagespeed off in my .htaccess file. Abhik also pointed to this in his comment.
I am not sure which white area you mean (the one above the line?) but that can be done by adding the following to your CSS: header.page-header { display:none; } div.entry-content { margin:0 auto; } Ideally do this in a child theme.
Googled some more and found out that closing php tags and writing html as it is a better practice as compared to writing html inside. Made the following changes to the code shared above: $space=200px; ?> <div style=”margin-bottom:<?php echo $space; ?>” > <?php //rest of the code ?> </div> <?php //rest of the code Space … Read more
Search issue: You have label and br tags above search_keywords and search_location input fields. You can eater remove them in theme or set display: none; in css style for them. Css eg: .search_keywords label, .search_keywords br, .search_location label, .search_location br { display: none; } If you want to make map full width just like your … Read more
Go in your style.css line 18 and delete the “color” attribute for #navigation .sf-menu > li.sfHover > a and the one for #navigation .sf-menu > li > a:hover. Alternatively, you can set it for color: white
HTML entered into the Visual editor will not be rendered as HTML. Use the Text editor for HTML.
The problem is with the containing div. In /wp-content/themes/curiousegg/css/woocommerce.css on line 677 the width of div.thumbnails is set to 18% you would have to increase this to something more. Change .thumbnails width to 100%, then change the width of .thumbnails a to whatever width you want the images to be. I tried 20% and it … Read more
This is common problem when themes let you add some “free style” css as part of its options, try to look for such an option. In general never use this kinds of options if you can create a child theme and directly modify its css.
I added a jquery to the footer.php in the child theme. Within that I listed all the product pages I wanted to adjust the css for. This is not ideal for sites with large content, in this case there are only two products. For the sake of larger sites, there could possibly be some wild … Read more