Forum Replies Created
-
AuthorPosts
-
Also, on the page https://2024-liptonrogers-com.stackstaging.com/projects/ how can we make the whole image be clickable instead of just the text in the portfolio grid?
Doing these changes has messed-up the mobile menu and the line is still showing on mobile – see the image here https://ibb.co/V965Psp
Cheers
- This reply was modified 2 months, 3 weeks ago by whdsolutions.
I added but nothing happened
function top_divider_moves_outwards(){ ?> <script type="text/javascript"> window.addEventListener("DOMContentLoaded", function () { (function($) { $('#top .avia-section.outwards').each( function() { var bgColor = $(this).css('background-color'); if($(this).children().hasClass('avia-svg-negative')){ $(this).find('.avia-divider-svg.avia-divider-svg-top').css({ "transform-origin" : "top center", "-webkit-transform" : "translateY(-100%)", "transform" : "translateY(-100%)", "z-index" : "100", }); } else{ $(this).find('.avia-divider-svg.avia-divider-svg-top').css({ "transform-origin" : "top center", "-webkit-transform" : "rotate(180deg)", "transform" : "rotate(180deg)", "z-index" : "100", }); } $(this).not(".preserve-color").find(".avia-divider-svg-top > svg").css('fill', bgColor); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'top_divider_moves_outwards');
Where does this code go?
<svg class="bottom-curve"> <clipPath id="bottom-curve" clipPathUnits="objectBoundingBox"><path d="M1,0.9 s-0.25,0.1,-0.5,0.1 S0,0.9,0,0.9 V0 h1 v0.9"></path></clipPath> </svg> <style> .bottom-curve > div { -webkit-clip-path: url(#bottom-curve); clip-path: url(#bottom-curve); } </style>
September 27, 2024 at 1:35 pm in reply to: Make active page bold and different colour in menu #1467950Fabulous cheers! :-)
It’s more in Google’s search results – https://ibb.co/FB4XhsG
Absolutely fabulous – Thank you!
Superb thank you!
Still the same on mobile when we add this :-(
Admin details below if you want to fix
If you login then get the white screen, hit f5 it logs you in
Did the same on standard login page /wp-login.php
It’s a plugin
I have made login credntials so you can check
the login is now (see private messge)
Works a treat – Thank you so much!
Of course
This is what is in Enfold Child: Theme Functions (functions.php)
<?php
function masonry_links () {
?>
<script>
window.addEventListener(‘DOMContentLoaded’, function() {
(function ($) {
$(document).ready (function () {
var url = new RegExp(location.host);$(‘.av-masonry-entry’).each(function () {
if( ! url.test($(this).attr(‘href’)) ) {
$(this).attr(‘target’, ‘_blank’);
}
});
});
}) (jQuery);
});
</script>
<?php
}
add_action (‘wp_footer’, ‘masonry_links’);/*
* Add your own functions here. You can also copy some of the theme functions into this file.
* WordPress will use those functions instead of the original functions then.
*/- This reply was modified 1 year, 2 months ago by whdsolutions.
I have deleted the code now as it is uneccessary if not working.
I tried this and it does not work.
Thank you! :-)
I’ll try again and let you know. TY
Fixed it – uploaded the custom fonts again.
All browsers now :-(
This did nothing, sorry.
I can’t stand Apple’s wierdness!
I used
@media only screen and (max-width: 767px) {
.home #layer_slider_1 {
display: none;
}
}
Worked a treat!On this page http://coffeeinspiration-uk.stackstaging.com/products/our-coffee/ scroll down to …
Read about our ethical approach to coffee – Click the LEARN MORE button
This then takes you to http://coffeeinspiration-uk.stackstaging.com/#ethics and it should look like this https://img.savvyify.com/image/9luu1
But looks like this on Safari on Mac https://img.savvyify.com/image/mac.9lY8l
-
AuthorPosts