Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Logo and Special Offers alignment issues

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-27-2010, 10:36 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Logo and Special Offers alignment issues

http://www.vacsew.com/cart/home.php

1. Note the logo - I need it to be that size, but obviously I am having trouble making that top rectangle large enough to accommodate the logo.

2. Notice the poorly written text just to the right of the category menu. This is injected via the Special Offers section in Admin. I want that text to be centered in the middle of that section.

In both cases I have played around with the .css files, but can't figure out where or how to fix these issues.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #2  
Old 06-27-2010, 10:56 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Logo and Special Offers alignment issues

fire bug is excellent for this.

For the logo fintd this

#header - change height

#header .line1 - change height

#content-container - change top margin
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 06-27-2010, 11:00 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Logo and Special Offers alignment issues

Quote:
Originally Posted by Ashley
fire bug is excellent for this.

For the logo fintd this

#header - change height

#header .line1 - change height

#content-container - change top margin

Is this in a tpl or .css file. I have Firebug, but I admit I haven't had time to really get to know it.
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #4  
Old 06-27-2010, 11:10 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Logo and Special Offers alignment issues

Update - I figured out how to move the search bar:

/skin.main.css

#header .line1 {
position: relative;
height: 200px;
direction: ltr;
}
#header .line1 .logo {
padding-top: 10px;
margin-left: 10px;
width: 203px;
}

But how do I move the other containers down?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #5  
Old 06-27-2010, 11:11 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Logo and Special Offers alignment issues

#content-container - change top margin
__________________
xcart 5.1.2
Reply With Quote
  #6  
Old 06-27-2010, 11:25 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Logo and Special Offers alignment issues

Quote:
Originally Posted by Ashley
#content-container - change top margin

Sweet - Here I was looking right at that earlier as well. Would have helped if the .css files were a tad better commented...

Thanks!

Ok - Now the center section where I have the text about the fact that the system is still broken.... All the text is crammed over on the left, but when I look at it in the Special Offers editor (including in the wysiwyg mode), it looks fine.

Could this be happening because I selected the 3-column layout when I uploaded this skin? I can't figure out how to get this text to center in the middle of the page (as shown here on our old site - www.vacsew.com).
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #7  
Old 06-27-2010, 11:31 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Logo and Special Offers alignment issues

find this

.offers-short-list {
margin-bottom:10px;
margin-top:15px;
text-align:left;


}

and try this

.offers-short-list {
margin-bottom:10px;
margin-top:15px;
text-align:right;


}
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 06-27-2010, 11:34 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Logo and Special Offers alignment issues

That code is not in the main.css or in the altskin.css

Any clues?
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
  #9  
Old 06-27-2010, 11:39 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Logo and Special Offers alignment issues

firebug says its in main.css
__________________
xcart 5.1.2
Reply With Quote
  #10  
Old 06-27-2010, 11:41 AM
  Vacman's Avatar 
Vacman Vacman is offline
 

X-Adept
  
Join Date: Sep 2005
Location: Torrance, CA
Posts: 792
 

Default Re: Logo and Special Offers alignment issues

Hmm - The only place I find it in the main.css file is under:

/*
Admin preview layout
*/
.admin-preview #header,
.admin-preview #footer,
.admin-preview #left-bar,
.admin-preview #right-bar,
.admin-preview #location,
.admin-preview .offers-short-list,
.admin-preview .creviews-dialog,
.admin-preview .send2friend-dialog
__________________
Carl Tice

X-Cart 4.6.6
X-Payments 3.0
ReBOOT 3.4.1

PHP 5.6.30
MySQL 5.6.35
Linux 2.6.32-042stab120.18
ionCube PHP Loader v4.7.3
Perl 5.10.1
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:33 PM.

   

 
X-Cart forums © 2001-2020