Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Mobile Site
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:00 pm

Mr Papa, Brandon, Yellow,

The line of code is in my header.php file.

<meta name="viewport" content="width=device-width, initial-scale=1.0">

Do I just remove, or edit that line of code? I guess my question is, how do I make it a fixed width theme?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 8:24 pm

try removing it and see what happens wink

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 15, 2012 - 9:06 pm

Unfortunately, that didn't fix the issue. frown Only some of the images are unaffected when zooming in. Most images are still distorted. Any ideas?

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Apr 15, 2012 - 11:15 pm

pdgreenough said

Do I just remove, or edit that line of code? I guess my question is, how do I make it a fixed width theme?

If your theme has no options for fluid or a fixed width you can try editing your WP theme's CSS file.

If you edit your /themes/admired/style.css and add something like

width: 1275px;

to the 

body {

element that should force it.

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 15, 2012 - 11:44 pm

Hi Brandon,

In my theme's style.css file. If I understand correctly, I will edit the following:


from:

body {
    background: #fff;
    line-height: 1;

 

To:

body {
    background: #fff;
    line-height: 1;
    width: 1275px; 

 

That still didn't work. Any ideas?

Avatar
Brandon
U.S.
SP Wrangler
Free Members
sp_UserOfflineSmall Offline
Apr 16, 2012 - 12:30 am

Well, not to diss on your WP theme but it has several body elements in it which makes it a little harder for you to find and change things.

Look for the body element that has this

body {
    background-attachment: fixed;
    background-image: url("images/default-bg.png");
    background-position: center top;
    background-repeat: repeat;
 
Add the width entry at the bottom there and see if it works.
If not how dependent on that theme are you? smile
 
 
 
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 16, 2012 - 12:47 am

Brandon,

Thanks for the advise but it looks like nothing is working here. I added the width code where necessary and my theme is still squeezing images when zooming in. I'm not married to my theme. What theme does this simple:press forum here use?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 16, 2012 - 8:56 am

This is the Sp default theme just with customised CSS...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 16, 2012 - 8:59 pm

did you mean wp theme or sp theme?  andy answered sp theme, but the wp theme you can see in our footer though its customized by us...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Apr 17, 2012 - 12:07 am

I meant wp theme but now that you mention it, I'm open to using a different sp theme as well. Please let me know what you recommend and I will plan accordingly. I look forward to hearing from you. Thank you.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17348
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10118
Posts: 79603