Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Apr 2014, 20:33
sonic83 sonic83 is offline
 
Join Date: May 2011
Move this (do not know the name of variable)

Hello friends.

What is the variable to move this? Not the background. I want to set the background to 100% (doc_width = 100%)

But to establish X pixels from the left and right of the content. Attached picture looks even better:

So it is now:

1.jpg

This I want to move X pixels:

2.jpg

Thanks to all

PS: Thanks to tbworld for your help.
Reply With Quote
  #2  
Old 27 Apr 2014, 20:49
tbworld tbworld is offline
 
Join Date: Oct 2008
If you can post a link to your board it would help us give you the correct information.

--------------- Added 27 Apr 2014 at 13:52 ---------------
I think this is what you are looking for:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change the value to your desired padding width and add the code to the bottom of the template "additional.css" in the ACP(Admin Control Panel - admincp) --> Template Manager.

Your template structure may be different, that is why we need a link.

Last edited by tbworld; 27 Apr 2014 at 20:54.
Reply With Quote
  #3  
Old 29 Apr 2014, 08:25
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
so you want to adjust the page margin!!!

how about doc_ variable in your stylevar where your style is!!

it should work !!!

__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #4  
Old 29 Apr 2014, 14:11
sonic83 sonic83 is offline
 
Join Date: May 2011
Thanks tbworld, it works but the header does not move in the same amount of px. Would need to move all in all pages, X pips inside, header, footer, all.

1.png

Thanks for your help
Reply With Quote
  #5  
Old 29 Apr 2014, 14:38
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by sonic83 View Post
Thanks tbworld, it works but the header does not move in the same amount of px. Would need to move all in all pages, X pips inside, header, footer, all.

Attachment 148969

Thanks for your help
I believe you are missing something here because it is not clear to me whether you want to center all page in the middle of the screen or not!!

if so, then go to your Admin cp and on the left panel find Styles & Templates/ Style Manager/

on your style, choose Style Variable Editor and click GO

Then find in the search, doc_margin

you find options to enter, so to center all pages add these values:

Units %
Use the 'top' value for all sides No
Top 0
Right auto
Bottom 0
Left auto


save it and you're done!!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #6  
Old 29 Apr 2014, 14:50
sonic83 sonic83 is offline
 
Join Date: May 2011
Originally Posted by fxdigi-cash View Post
I believe you are missing something here because it is not clear to me whether you want to center all page in the middle of the screen or not!!

if so, then go to your Admin cp and on the left panel find Styles & Templates/ Style Manager/

on your style, choose Style Variable Editor and click GO

Then find in the search, doc_margin

you find options to enter, so to center all pages add these values:

Units %
Use the 'top' value for all sides No
Top 0
Right auto
Bottom 0
Left auto


save it and you're done!!
Thanks friend, I do not want to center page, I want the page to occupy 100% in doc_width, the background occupies 100%, but the content that is on the bottom, right and left, 100 px trespasses, for to add a vertical banner there.

thanks

PD: Sorry for my English
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:14.

Layout Options | Width: Wide Color: