• Welcome to Simple Machines Community Forum. Please login or sign up.
December 08, 2021, 03:36:05 PM

News:

Follow SMF on Twitter.


Responsive Curve

Started by SMF Customization Team, April 20, 2015, 06:33:49 AM

Previous topic - Next topic

EL34

Quote from: njtweb on March 27, 2019, 08:46:59 PM
Interesting. I'm using default curve and vers 2.0.15 with responsive curve mod. My index.css file does not have any of this code.

This file?
Themes/default/css/index.css
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

njtweb

Correct. None of that chunk of code is in my index.css file.

EL34

Quote from: njtweb on March 28, 2019, 08:55:38 AM
Correct. None of that chunk of code is in my index.css file.

Hmm, not sure why
Some else smarter than me may know why :)
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

njtweb

This is it. Unless I'm missing something and you see it. The text size issue is the same with my webmaster tools. My mobile check fails because of that.

SychO

your css code has been customized, just look for the body tag in line 34
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

njtweb

Quote from: SychO on March 28, 2019, 09:09:08 AM
your css code has been customized, just look for the body tag in line 34

Thank you @SychO.

This is what I have for font size. What should that be changed to?


/* Set a fontsize that will look the same in all browsers. */
body {
  height: 100vh;
  background-color: #E9EEF2;
  background-image: url(https://www.youthhockeyinfo.com/Themes/default/images/kids1.png), linear-gradient(#375976, transparent);
  background-repeat: no-repeat;
  background-size:cover;
  font: 92%/130% "Verdana", "Arial", "Helvetica", sans-serif;
  margin: 0 auto;
  padding: 15px 0;
}

EL34

Quote from: njtweb on March 28, 2019, 09:16:06 AM

This is what I have for font size. What should that be changed to?


/* Set a fontsize that will look the same in all browsers. */
body {
  height: 100vh;
  background-color: #E9EEF2;
  background-image: url(https://www.youthhockeyinfo.com/Themes/default/images/kids1.png), linear-gradient(#375976, transparent);
  background-repeat: no-repeat;
  background-size:cover;
  font: 92%/130% "Verdana", "Arial", "Helvetica", sans-serif;
  margin: 0 auto;
  padding: 15px 0;
}


Try medium verdana like I did
font: medium Verdana, Arial, Helvetica, sans-serif;

My forum members that use mobile devices have been saying they really like the new format
In mobile chrome, they can use the mobile version or the desktop site for larger screens, like tablets
Her's the setting in mobile chrome
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

EL34

BTW, if you change .css settings and are using  chrome on a desktop to view the new settings
Chrome refuses to load the new .css file
I do a shift-control-delete and clear cached images and files

Then chrome will load the new .css file and you can see the results of your changes

You can do the same thing in mobile chrome in the menu
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

njtweb

How long after did you re-try mobile usability in webmaster tools? Mine still says it fails.

EL34

Quote from: njtweb on March 28, 2019, 09:38:35 AM
How long after did you re-try mobile usability in webmaster tools? Mine still says it fails.

I just let the webmaster tools take their time and spider my web sites again
I created a new sitemap with the main forum entry page included in the site map
Then I told the spiders at Bing and Google to load my new sitemap
I have a php program on my server that creates sitemaps and saves them

I waited a couple weeks and the problems pages went from 3000+ to zero

You can also have them look at a specific url that showed up in their report as not mobile friendly and see if it is now mobile friendly
You have to wait until the spiders index your forum or you will get a message that the url is not indexed

Here's a couple screen shots of one of my web sites that has my forum on it
Before and after results and a specific url to one of the older post on my forum that was in the google index
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

njtweb

Quote from: EL34 on March 28, 2019, 10:39:42 AM
Quote from: njtweb on March 28, 2019, 09:38:35 AM
How long after did you re-try mobile usability in webmaster tools? Mine still says it fails.

I just let the webmaster tools take their time and spider my web sites again
I created a new sitemap with the main forum entry page included in the site map
Then I told the spiders at Bing and Google to load my new sitemap
I have a php program on my server that creates sitemaps and saves them

I waited a couple weeks and the problems pages went from 3000+ to zero

You can also have them look at a specific url that showed up in their report as not mobile friendly and see if it is now mobile friendly
You have to wait until the spiders index your forum or you will get a message that the url is not indexed

Here's a couple screen shots of one of my web sites that has my forum on it
Before and after results and a specific url to one of the older post on my forum that was in the google index

Great info, thanks for the responses. You said you also created a new sitemap as well, can I ask how? I use the "OPTIMUS" mod which is supposed to generate a new sitemap all inclusive. According to the sitemap on my site root it shows it hasn't been updated since August. i've tried sitemap generators online but they don't create a full sitemap, only 500 links.

EL34

Quote from: njtweb on March 28, 2019, 10:47:17 AM
Great info, thanks for the responses. You said you also created a new sitemap as well, can I ask how? I use the "OPTIMUS" mod which is supposed to generate a new sitemap all inclusive. According to the sitemap on my site root it shows it hasn't been updated since August. i've tried sitemap generators online but they don't create a full sitemap, only 500 links.

I have been using this one for many years
I just run it once a week to update the sitemaps on my web sites
I saved four different versions of the program to make sitemaps of just pdf files, just .htm files, etc

You can customize it to not go into certain folders or index certain types of files
http://bin-co.com/php/programs/tools/sitemap_generator/

Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

njtweb

Ok, if I understand correctly.

I download the script, edit it and then upload to my site root. When I want to submit a new sitemap to google I go to my webmaster tools and run that file under sitemap submission?

EL34

Quote from: njtweb on March 28, 2019, 11:42:28 AM
Ok, if I understand correctly.

I download the script, edit it and then upload to my site root. When I want to submit a new sitemap to google I go to my webmaster tools and run that file under sitemap submission?

I made a new folder under the main root folder called php
I put all my php scripts in that folder
I exclude robots.txt from entering that folder
And I edited the sitemap php program to exclude that folder

When you want to run the sitemap script, you do it from your browser
https://yourweb.com/php/create_sitemap.php

You can edit the original php file and rename it
I have 4 versions I run that create 4 different sitemaps

I suggest you edit the php file and rename it
Then run it to test it
Look at the sitemap file it creates to see if it has everything you want it to or things you do not want in the sitemap
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

EL34

You can also create a sitemap index file and just submit that to google or bing
This index has 3 of my sitemaps in it


<?xml version="1.0" encoding="UTF-8"?>   
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <sitemap>
      <loc>http://mywebsite.com/sitemap1.xml</loc>
      <lastmod>2018-05-17T12:00:00Z</lastmod>
   </sitemap>
   <sitemap>
      <loc>http://mywebsite.com/sitemap2.xml</loc>
      <lastmod>2018-05-17T12:00:00Z</lastmod>
   </sitemap>
      <sitemap>
      <loc>http://mywebsite.com/sitemap3.xml</loc>
      <lastmod>2018-05-17T12:00:00Z</lastmod>
   </sitemap> 
</sitemapindex>
Forum History -> EZBoard -> YABB -> SMF 1.1.19 -> SMF 2.0.17

delta5

If I use this mod with the classified ads mod, will everything look ok?

Antes

Quote from: delta5 on April 30, 2019, 10:56:24 AM
If I use this mod with the classified ads mod, will everything look ok?

Depends if the mod adopted the changes/classes this mod gives. Also ads mostly requires to be responsive (google ads)... Responsive mods/themes stay away from resizing/touching ads because its mostly against ToS (Terms of Service).

delta5

Oh sorry, I wasn't talking about the google ads mod. I'm talking about the mod that turns your forum into an ebay type classifieds site.

njtweb

Quote from: Antes on April 30, 2019, 11:39:45 AM
Quote from: delta5 on April 30, 2019, 10:56:24 AM
If I use this mod with the classified ads mod, will everything look ok?

Depends if the mod adopted the changes/classes this mod gives. Also ads mostly requires to be responsive (google ads)... Responsive mods/themes stay away from resizing/touching ads because its mostly against ToS (Terms of Service).

To answer the classifieds question, no, none of the classifieds mod is responsive. I've asked vbgamer45 if there are plans to make it responsive at some point and he answered honestly, "possibly at some point".

delta5

I was wondering what effect the responsive Curve mod might have.

Advertisement: