waterbod
Forum Replies Created
-
Hi
I’m having a similar problem. I can only edit my homepage with Elementor but it won’t load any other pages, it just hangs.
Forum: Themes and Templates
In reply to: [Astra] Reduce space after header and before H1Hi Nikhil,
Thanks – I only just saw your reply – my site is visible now.
I have changed it to and it worked. But I still have spacing issues after H1.#primary {
margin: 0;
}cheers
KarenForum: Themes and Templates
In reply to: [Astra] Reduce space after header and before H1Hi
Actually it only worked for desktop, but not for ipad or mobile widths – in fact made it bigger?
Thanks again
Forum: Themes and Templates
In reply to: [Astra] Reduce space after header and before H1Hi there,
Thanks so much that worked perfectly!
cheers
Hi Marco,
Thanks so much – that worked. I just made the left margin zero as well to eliminate all white space.
Thanks again
KarenForum: Plugins
In reply to: [Meta Slider] Only displaying image and textHi,
I’m using meta slider with twenty sixteen, but am unable to remove the extra white padding above the meta slider on my home page:
My site is https://www.karenshearart.com
I’ve tried this but it doesn’t work:
#wrapper {
margin-top: 0;
}.slider-wrapper {
margin-left: -18px;
margin-right: -18px;
}
.home .post-entry {
margin-top: -18px;
}Many thanks
KarenForum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi Bojan,
Yes problem solved..
Thanks for all your help with this ??
cheers waterbodForum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileActually I have the same problem on the desktop – whenever you return to home, the original header flashes first.
cheers waterbod
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi Bojan,
That happens when I test it on an iphone mobile device, not on the desktop.
https://www.creativehosp.com/temp.Thanks again,
waterbodForum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi Bojan
Thanks – sorry I missed that (must be the heatwave here)
The mechanism works now, there is just one other thing happening…
on my mobile the original header is still displayed for a second or two before the new one shows which is bit confusing, like an animation.Btw thanks so very much for your ongoing patience with this one!
Kind regards, waterbod
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi,
THanks.The Urls are still the same – as I have them in the code.
FYI – I originally uploaded the small logo via Filezilla, but have now deleted it then added it via Media, but the Url is still the same. I have tested both Urls.
What could be wrong? It is only the small logo that is not being picked up.
Thanks again
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileThe content of my functions.php file:
`
<?phpadd_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’ );
function enqueue_parent_theme_style() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
}// unregister sidebar to remove left sidebar of Twenty Fourteen
function remove_left_sidebar(){
unregister_sidebar( ‘sidebar-1’ );
}
add_action( ‘widgets_init’, ‘remove_left_sidebar’, 11 );
// add a favicon to your site
function blog_favicon() {
echo ‘<link rel=”Shortcut Icon” type=”image/x-icon” href=”‘.get_bloginfo(‘stylesheet_directory’).’/favicon.ico” />’ . “\n”;
}
add_action(‘wp_head’, ‘blog_favicon’);// mobiles
function my_custom_js_script(){
?>
<script>
jQuery( document ).ready( function( $ ) {function change_image_res() {
if ( $( window ).width() <= 600 ) {
$( ‘#site-header a img’ ).attr( “src”, ‘https://www.creativehosp.com/temp/wp-content/uploads/2015/02/creativehospitality-logo-sml.png’ );
} else {
$( ‘#site-header a img’ ).attr( “src”, ‘https://www.creativehosp.com/temp/wp-content/uploads/2015/02/creativehospitality-logo.png’ );
}
}$( window ).load( function() {
change_image_res();
} );$( window ).resize( function() {
change_image_res();
} );} );
</script>
<?php
}?>
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi Bojan,
Thanks for that –
I’ve added that extra code in, I don’t get the error but now the images won’t swap.?
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileThis the error I get:
Parse error: syntax error, unexpected ‘$’, expecting ‘&’ or variable (T_VARIABLE) in /home…………..wp-content/themes/twentyfourteen-child/functions.php on line 28
Forum: Themes and Templates
In reply to: [Twenty Fourteen] change the site-header image on mobileHi Bojan,
I’ve tried using the function but I got a parsing error and my website didn’t come up.
Maybe I should try the Css rather as I’m a bit more familiar with Css. I’m not sure however what to add to make the header link to the home Url.
Thanks again!
waterbod