Forum Support

Shape 5
March 29, 2024, 02:10:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Center Logo  (Read 687 times)
firebride
Jr. Member
**
Offline Offline

Posts: 49



« on: October 14, 2013, 08:43:54 AM »

How can I center this logo?

Adjusting the margins does work, but then it does not display correct on mobile devices without scrolling horz.

Sorry, cannot provide local link to my site.

Thanks in advance
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: October 14, 2013, 01:18:51 PM »

If you want to center an HTML element it needs a width and the a margin as follows.  Change width as desired but just as an example:

width:300px;
margin:0 auto;

Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
firebride
Jr. Member
**
Offline Offline

Posts: 49



« Reply #2 on: October 14, 2013, 11:50:38 PM »

thanks jonahh, I have made the adjustment in template.css and it looks like this:

.s5_logo {

/*    float: left;
    height: 70px;
    cursor: pointer;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 11px;*/

    margin:0 auto;
    width: 250px;

}

It still does not center, am I missing something?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: October 15, 2013, 12:37:28 PM »

Can you post a URL of your site so I can take a look at this for you first hand?
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
firebride
Jr. Member
**
Offline Offline

Posts: 49



« Reply #4 on: October 16, 2013, 02:49:49 AM »

Herewith the link: http://www.colnera.co.za/testing101/

Your thoughts?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: October 16, 2013, 12:51:14 PM »

Hmm not sure why its not working but you could open up the index.php file and put center html tags around the logo and this should do it

<center>
logo here
</center>
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
firebride
Jr. Member
**
Offline Offline

Posts: 49



« Reply #6 on: October 16, 2013, 11:56:16 PM »

Thanks Jonahh
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.