Jump to content


  • Content count

  • Joined

  • Last visited

About beelzebomb

  • Rank
    Dedicated Member

Users Experience

  • Experience
  • Area of Expertise

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Chelmsford, Essex
  • Interests
    Art, music, running, photography, all types of cycling & bike maintenance.
  1. I am now using slightly different code - how would I implement this in the below, any idea anyone? $(function(){ $(document).on( 'scroll', function(){ if ($(window).scrollTop() > 200) { $('.scroll-top-wrapper').addClass('show'); } else { $('.scroll-top-wrapper').removeClass('show'); } }); $('.scroll-top-wrapper').on('click', scrollToTop); }); function scrollToTop() { verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0; element = $('body'); offset = element.offset(); offsetTop = offset.top; $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); }
  2. The code I'm using is semi transparent, I noticed yesterday that the shop Zalando use a similar idea - their back to top button disappears completely when scrolling stops anywhere on the page, so not interfering with the viewpoint. I'm sure it's just a JS tweak, but I don't know.
  3. I am using the following code to make an opaque Back to Top button appear on mobile devices when the user scrolls down. It fades in as the user scrolls, and fades away when the user scrolls back up - or touching the button glides the page to the top (obviously!) But mob devices are limited space, so to avoid the button covering the footer content, I would like it to fade away when the user stops scrolling or hits the bottom of the page, to reappear when the user scrolls again - is this possible/simple to do? HTML <a href="#" class="back-to-top">Back to Top></a> CSS .back-to-top { position: fixed; bottom: 1em; right: 0px; text-decoration: none; color: #000; background-color: rgba(235, 235, 235, 0.80); font-size: 90%; padding: 1em; display: none; font-family: 'open_sansbold', Arial, Helvetica; z-index: 999; border-radius: 14px 0 0 14px; moz-border-radius: 14px 0 0 14px; webkit-border-radius:14px 0 0 14px; o-border-radius: 14px 0 0 14px; } .back-to-top a { color: #000!important;} /* .back-to-top:active { color: #000!important;} */ .back-to-top:hover { /* background-color: rgba(135, 135, 135, 0.50); */ color: #000!important; } footer { z-index: ;} JS jQuery(document).ready(function() { var offset = 420; var duration = 500; jQuery(window).scroll(function() { if (jQuery(this).scrollTop() > offset) { jQuery('.back-to-top').fadeIn(duration); } else { jQuery('.back-to-top').fadeOut(duration); } }); jQuery('.back-to-top').click(function(event) { event.preventDefault(); jQuery('html, body').animate({scrollTop: 0}, duration); return false; }) });
  4. Thanks but that's a dead link. I'v since spoken to ebay and been informed that they're phasing out the ability to completely redesign stores so the button doesn't exist for new stores - they want to streamline them all to be simpler.
  5. Anyone? Or even point me in the right direction to a specific forum for this subject. EBay, like google, is near impossible to contact if something isn't right.
  6. I'm trying to create an eBay store for a client - but, rather like dealing with that other big anonymous corporation, Google, it's proving pretty painful. The client has opted for the basic package (£20pm approx). I've added a banner, I've added a logo but cannot see anywhere to add a theme or actually style the store. I seem to have some fields missing? No Display Settings: Apparently, I should find display setting here: My eBay > account tab (hover) > manage my store (click) > display settings (click) But there is no display settings option, so I can't change the layout, add a them or background - not anything! Any help appreciated.
  7. Thanks Weedy101, I'm going to completely fresh install my WP blog and re-upload all the posts to be safe. Quite a few people recommend Sucuri and I guess at 50 odd quid a year it's good value - I've had 2 hacks in the past 2 years and it stuffs up your google listing, SEO and takes a huge amount of time to sort out - well worth it. I am considering completely deleting the database and creating a new one, or is this overkill? Guess the downside is that I will lose all the comments? I can't think of a way round this really.
  8. Thanks for the suggestions, thumping every hacker in the face would make me feel much better right now!
  9. Yes it is the same path, I've now reloaded my entire site and all javascript files etc - also contacted host who have restarted (?) the firewall as google suggests one reason might be that host is blocking googlebot (though surely that's insane!) or their firewall is blocking it. The redirect seems to be conditional, so doesn't show up each time I check, so not sure if it's gone or not. FVS aren't providing free hosting - it's a paid package, bit of a rubbish name though they do provide some limited free hosting packages as well. Came highly recommended by fellow web designers and hosters a few years back but service really seems to be on a downward spiral & I know some of those have now left them.
  10. Thanks I have already done exactly that and found nothing - I've now taken down my blog (deleted off server) and put up a maintenance page. But Google still can't find my robots file so won't crawli my site - same message each time I 'fetch' - I've now slipped off page one so this is getting desperate for my income.
  11. Sure - this is for the site as a whole, not the blog part. Options +FollowSymlinks RewriteEngine on RewriteCond %{http_host} ^mysite.co.uk [nc] RewriteRule ^(.*)$ http://www.mysite.co.uk/$1 [r=301,nc] RewriteRule ^index\.html$ / [R=301,L] RewriteRule ^(.*)/index\.html$ /$1/ [R=301,L] AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .htm .html #AddHandler fcgid-script .php5 .php4 .php .php3 .php2 .phtml .html .htm #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php5 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php4 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php3 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .php2 #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .phtml #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .htm #FCGIWrapper /usr/local/cpanel/cgi-sys/php5 .html But it also turns out that I've been hacked with a conditional redirect to adult sites, so it doesn't happen every time you try to replicate it. This is what aw-snap.info is finding - but I can't find it on my site anywhere, last night I reloaded WordPress, but no joy.. Content that was returned by your request for the URL: http://www.mysite.co.uk Note: Content displayed is from the redirect location, the URL http://xe67sxcdb1v1n3s5muwre7p.sanalmatik.net/index.php?g=aW1wc3Z6PWJ4bmsmdGltZT0xNDA2MDExNjUwMjkxNzkxMzQxOSZzcmM9MTA5JnN1cmw9d3d3LmZpenp3ZWJkZXNpZ24uY28udWsmc3BvcnQ9ODAma2V5PUExREFFRDE3JnN1cmk9Lw== 1:< html> < head> < title> index< /title> < /head> < body> < sc​ript > if (typeof(location.re​place)!='undefined') { top.location.re​place( "hxxp://95wbe830tumxyapvz​tcz6ix.adultvideoz.net/adsort.php?xx=1&aid=2&atr=dirs&src=109" ); } else { top.location.href = "hxxp​://95wbe830tumxyapvztcz6ix.adultvideoz.net/adsort.php?xx=1&aid=2&atr=dirs&src=109" ; }; < / sc​ript > Note: The sc​ript call above looks suspicious! Check to make sure it is legit. < /body> < /html>
  12. Right, where do I begin. Free Virtual Servers' server updates kept changing my htaccess file making the code that parses the site as php to redirect to my mobile version broken, so the code displays at the top of the page - they managed to do this twice in a week. I was given the solution to make htaccess immutable, so it couldn't be changed - fine I thought... Then less than 24 hours they made more server changes, and because my htaccess file was now immutable didn't change it, the result being that as it was such a big change, my site went down! The site itself exists and is fine - but the blog post links were all 404'ing - I naturally blamed FVS, who were vague about any potential cause - I recreated the blog's htaccess file after deleting the one already there and this solved it. To add insult to this, Google tried to crawl the site while it was down and I dropped off page one as a result. The message being that google couldn't find my robots.txt file - well I didn't have one! So I tried to "fetch as google" and index my site again but the robots error is still showing - so I created a damn robots file as FVS were too vague in their response again. I now find that I can't submit all linked urls as this box in webmaster tools is now greyed out - and to top it all, I'm told when it tries to fetch and index my blog (inserted inside my site) that it's 301 redirected to the same url it is already on! Here's the google message: HTTP/1.1 301 Moved Permanently Date: Sat, 31 May 2014 21:17:39 GMT Server: Apache Location: http://www.fizzwebdesign.co.uk/blog/ Content-Length: 244 Connection: close Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> </head><body> <h1>Moved Permanently</h1> <p>The document has moved <a href="http://www.fizzwebdesign.co.uk/blog/">here</a>.</p> </body></html> I haven't set up a 301 for the blog - it's in the same place it always has been. I feel like I'm being sabotaged, any help as to what's going on? Is it all FVS' fault?
  13. Use own WordPress design or a template?

    Thanks all, yes I've seen _s & bones and thought _s especially interesting so will give both a deeper look at. Yes I built my in-site blog in a similar way junior, I understand html, but not much php, so adapted the existing site code to become WP. Though it was pretty tough work to get working and I've no idea if this approach would be solid enough to incorporate any complicated plugins I might want to use without problems - at least a theme is (hopefully!) longterm tested.
  14. I've got a dilemma -whether to use a completely bespoke WordPress design or go with an existing flexible template that I can adjust. I've designed my own blog that sits in my own site, but it was hard work! Here are my dilemmas: 1. Using my own design (HTML with the crucial php added in) I can put everything exactly where I want it & will know the code inside out. But a template is tried & tested whereas mine isn't.. 2. Using a template will surely be limiting in various ways (exactly how much I can change things) & I will be faced with alien code? 3. Will my own design be capable of taking on board the huge range of plugins which make WP so attractive to use? 4. WP advertises itself as being responsive, but using my design will only be as responsive as I design it (unless I'm missing some magical part of WP!)? 5. For all the downsides of using my own design, it will be code I understand, most templates are purely php which I don't understand much at all. What do you think are the advantages/disadvantages of each route? Just how flexible and user-friendly are the templates on offer out there? I realise I need to read up on all this in detail but would appreciate any pointers from anyone who has been in a similar dilemma so I don't go off down the wrong road from the off. Thanks
  15. Ok sorted uploading it, codepen worked perfectly where jsfiddle wouldn't, here: http://codepen.io/beelzebomb/pen/GFevC