Webdesign York - Resources

Resources for webdesign York

Template Menu

Here are some of the resources that I may use for webdesign when building your next exciting website:

Fixing Meta Language

The Bing Webmaster SEO analyser flags meta-language as an error. Although MOZ suggests the error should be ignored it is quite easy to fix by adding: 

<meta http-equiv="content-language" content="en-gb">

for a UK based site, or country specific code into the Head section


Icon Sources

The Noun Project

Big White Duck

Icon Pharm

Icon Pharm can be used to obtain the SVG code of any icon by selecting the generate HTML button and copying the displayed HTML code. Example coffee cup shown below in an SVG stack.

Latitude and Longitude finder.

Useful for adding maps to a page.

Latitude and Longitude finder: Latlong.net

Get API key for a map: Get API key for Google maps

Online chat facility

https://www.tawk.to/

An interesting product and also an interesting business model too.

Centering a TCMS image inside Moving Box using CSS

.slick-track {

display:flex!important;

align-items:center;

}

Targeting the title in Videowall

.video .title { font-size:20px }

Showing the Blog count

Showing the Blog Count
Funny enough I just did this on a site that I am launching on Wednesday. Uses some PHP.

$blog = new TotalCMSComponentBlog("cmsid");
$posts = $blog->filter_posts(["draft" => "hide"]);
$count = count($posts);

Wherever you want to display the count... 

<?php echo $count; ?>

Adding a button into a blog post

Use the code view on the tool bar</> and add the following: 

Home

html code for adding a button into a blog post.

WAVE Accessibility Evaluation Tools:

https://wave.webaim.org/

https://www.experte.com/accessibility - This does a similar job to the webaim tool but will trawl your whole site and report on every page for accessibility issues. There is also a lot of detail about what exactly is wrong with the code which is useful to know.

Check whether a website has been hacked:

https://sitecheck.sucuri.net

Security code for htaccess

# X-XSS-Protection 

<IfModule mod_headers.c>    
Header set X-XSS-Protection "1; mode=block"

</IfModule> 

# X-Frame-Options 

<IfModule mod_headers.c>    
Header set X-Frame-Options "SAMEORIGIN"

</IfModule> 

# Strict-Transport-Security 

<IfModule mod_headers.c>    
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"

</IfModule> 

# Referrer-Policy <IfModule mod_headers.c>    Header set Referrer-Policy "same-origin" </IfModule> 

# Content-Security-Policy - Example 2 <IfModule mod_headers.c>    
Header set Content-Security-Policy "default-src 'none'; img-src 'self'; script-src 'self' https://code.jquery.com; style-src 'self'"

</IfModule>

Parallax 2 test

Parallax Image stack

Blueprint SVG showing colour change to fills on hover.

Elfsight Instagram feed

Performance improvements on 21/10/23 as measured by Page Speed Insights against the Home page
  • Hid reviews and blog sections on mobile
  • Changed the red squares to SVG sized at 10px as reports showed several items being resized
  • Changed the other SVGs on the page so that they didn't have be resized (modified the svg code in most cases) and took out scaling
  • Used a different hero layout from the Clean project which seemed to run faster
  • Deleted loading the bold version 700 font
  • Added a preload of the 640 wide banner image for mobile only
  • Added render-perf to a container containing the cards section onwards until the footer

Scores now at 93 mobile 74 desktop - Safari

Test of Open Street Maps functionality

Websites York
York Racecourse
York Station
York Minster

Websites York

York Racecourse

York Station

York Minster

How to create a Chat on Whatsapp button.

Follow the instructions on the Whatsapp Help Centre page called 'How to use click to chat'.

I downloaded the 'official' button designs and used the large green one in an SVG stack. I then added the link specified. In my case it was https://wa.me/447913398254

So the 44 is the country code for the UK and then you drop the leading zero of the mobile number.

If the class "current-year" doesn't work then use this for copyright dates:

© 2019 - 2025 Nic Auerbach • Website Design by Websites York