Forum Support

Shape 5
October 20, 2021, 07:25:58 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: Centering image on front page (in widget)  (Read 491 times)
debjy
Jr. Member
**
Offline Offline

Posts: 19



« on: September 10, 2015, 03:35:14 AM »

Hi I have an image in the Top row 1.1 and I cannot get it to centre on the page dynamically?
That is when I make the page larger it seems to stay to the right?
http://st-es.com.au/stes/
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: September 10, 2015, 06:36:25 AM »

Replace the code you have now with this:

Code:
<img style="display: block; margin: 0px auto;" alt="" src="http://st-es.com.au/stes/wp-content/themes/s5_incline/images/mainimage.png">
Logged

Tristan Rineer
------------
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
debjy
Jr. Member
**
Offline Offline

Posts: 19



« Reply #2 on: September 15, 2015, 05:57:04 AM »

Replace the code you have now with this:

Code:
<img style="display: block; margin: 0px auto;" alt="" src="http://st-es.com.au/stes/wp-content/themes/s5_incline/images/mainimage.png">

Thank you Smiley
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.