This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Add Left Margin to Form
#1

Hi
this is probably simple.
Where do I move the whole comments form in 50px from the left edge on my page like attached jpg
Help appreciated
thanks
Peter


Attached Files Thumbnail(s)
   
Reply
#2

Hi,

In comments/css/stylesheet.css, find this part:
Code:
.form_styling {
}

And add this line inside it:
Code:
.form_styling {
margin-left: 50px;
}

Afterwards you will need to apply a similar change to the "Add Comment" heading.

In the admin panel, in Layout -> Divider, replace this line:
Code:
<h3><a id="form" name="form">Add Comment</a></h3>

With this:
Code:
<h3 style='margin-left: 50px;'><a id="form" name="form">Add Comment</a></h3>

Have you completed the interview?
Reply
#3

Hi Steven,
Thanks for replying so quickly
In my layout/divider tag
I
have
<div style='margin-bottom: 40px;'></div>
<h3>Add Comment</h3>
<div style='margin-bottom: 40px;'></div>
do I add code in h3 tags?
Thanks
Peter
Reply
#4

Hi,

Okay in that case instead change it to this:
Code:
<h3 style='margin-left: 50px;'>Add Comment</h3>

Have you completed the interview?
Reply
#5

Sorry, ignore this blank. I got sorted out. Cheers.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by WhatSay
15-Aug-2020, 10:27 PM
Last Post by nimand
25-Jan-2018, 06:30 PM
Last Post by besric
03-Mar-2016, 10:22 PM
Last Post by somalimuzic
18-Apr-2015, 05:27 PM
Last Post by aercan
05-Dec-2014, 10:44 AM
Last Post by Steven
04-Jan-2013, 09:32 PM
Last Post by danh30
06-May-2012, 03:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)