making html pages in root responsive
-
Abby
- Verified Member

- Posts: 674
- Joined: July 13th, 2018, 10:04 pm
- Title: No man pays my bills
making html pages in root responsive
Can some one here please help me figure out how to make a page in the root of the domain on my server responsive, in WP it is fine but when I have a page outside of WP the banners make the page scroll to the right on my Iphone.
-
Colmike7
- Banned

- Posts: 1670
- Joined: May 23rd, 2018, 12:21 pm
- Title: (>^-^)b
I'd have to look at it, probably a CSS thing. What part of your site is WP and what part isn't?
- BrasSmonkey
- Verified Member

- Posts: 7893
- Joined: February 28th, 2018, 6:31 pm
- Title: Smell My Sack
- Referrals: 1
- Contact:
hire yuu
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com
DACA HAS ENDED!!! email: brassballz-@-techie.com
-
Abby
- Verified Member

- Posts: 674
- Joined: July 13th, 2018, 10:04 pm
- Title: No man pays my bills
There is no css it is just pages I want images to be responsive, is there a responsive basic code you can add, just thinking out loud.
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
I guess you could add
style="max-width:100%;height:auto;
to your img tag
Or if there's multiple images add to your head
<style>
img {max-width:100%;height:auto;}
</style>
The Fourth Turning Is Here
-
Abby
- Verified Member

- Posts: 674
- Joined: July 13th, 2018, 10:04 pm
- Title: No man pays my bills
-
Webby
- Verified Member

- Posts: 755
- Joined: November 3rd, 2018, 7:46 pm
- TheButcher
- Administrator

- Posts: 17531
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
I switched one of my sites to this one since the old code I was using had to be on a css file and another code for each banner, this is much simpler.
-
Ricks-Cams
- Verified Member

- Posts: 1089
- Joined: March 13th, 2018, 1:17 pm
You are good with code lady
You want to make money work the cams
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Thanks. I'm too cheap to pay for coding so I learn. I've been too cheap to pay since 2001. It's amazing how much crap you pick up over the years.
The Fourth Turning Is Here
-
Slim
- Verified Member

- Posts: 435
- Joined: September 26th, 2018, 3:02 am
Face it every page today needs to be mobile compatible or you are losing a shit load of surfers.
Some people can be Dumb and Dumber
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Yep, you're absolutely right. Life used to be so simple when all we had to worry about were PC display resolution and browsers. I remember when I first switched my display from 800x600 to 1024x768. Fixed and fluid tables in designs... those were the days...
And of course optimizing and slicing up images to be displayed whole within a table to speed up lousy dialup load times!
The Fourth Turning Is Here
- TheButcher
- Administrator

- Posts: 17531
- Joined: February 2nd, 2018, 11:48 am
- Title: I like weekends
- Referrals: 1
- Contact:
I still use 800x600 om my IEHeidiHoe wrote: ↑June 18th, 2021, 7:37 pmYep, you're absolutely right. Life used to be so simple when all we had to worry about were PC display resolution and browsers. I remember when I first switched my display from 800x600 to 1024x768. Fixed and fluid tables in designs... those were the days...
And of course optimizing and slicing up images to be displayed whole within a table to speed up lousy dialup load times!
Just kidding
-
Lenny
- Verified Member

- Posts: 276
- Joined: April 2nd, 2018, 8:08 am
you just made my day all my non-wordpress pages are messed up on the iphone, hopefully not any more when I add this to them today.
- HeidiHoe
- Verified Member

- Posts: 1653
- Joined: February 3rd, 2018, 12:20 pm
- Title: Resident Genius
Why keep pages in your root instead of creating and managing them from within wordpress? There's an easy to use plugin that'll add additional templates for you to use including striping header/footer giving you a blank slate
https://wordpress.org/plugins/fullwidth-templates/
The Fourth Turning Is Here