andyharvey661
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: Shortcode use in php echo sectionAwesome, thanks very much Caspar the below code works a treat.
<?php if ( is_home() or is_front_page()) {echo '<div class="section group"> <div class="col span_1_of_2"> <a href="http://www.ptmagazine.co.uk/testsite/"><img src="http://www.ptmagazine.co.uk/testsite/wp-content/uploads/2013/12/PT-Magazine-Web-Logo.jpg"></a> </div> <div class="col span_1_of_2"> ' . do_shortcode( '[cm_ad_changer campaign_id="1"]' ) . ' </div> </div> </div> </div>' ; } ?>Found it, I’ve just added one background (the 1300px one) and used the custom stylesheet field to put in:
@media only screen and ( max-width: 1299px ) {
body {background-image: none !important;}
}@media only screen and ( min-width: 1600px ) {
body {background-image: url(“http://www.mywebsite.com/images/skin1600.jpg”) !important;}
}Works a treat but the clickable link is still there for screens up to 1300 (even though the image isn’t) any idea how I turn that off? The HTML source shows it being added by something other than what I can target with CSS.
Forum: Plugins
In reply to: [Sharexy - Powerful Social Sharing Buttons] Remove the Sharesexy iconSorry to drag up an old thread but I’d really like to remove this button too.
Many thanks
Viewing 3 replies - 1 through 3 (of 3 total)