add bg to pages