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

Margins/Padding of form or width of comments boxes
#1

Hi

How do I change the the left margins of the form or the padding, or is the boxes too wide?
Looked through the css, changed .cmtx_form {
margin: 5px;
padding: 5px;

But no diffrence.

See screenshot


Attached Files Thumbnail(s)
   
Reply
#2

Hi,

What you've tried works for me so you'll need to provide the URL of your page so I can determine why it's not working. You can PM me the URL if you prefer.

Have you completed the interview?
Reply
#3

Sent u a pm Steven
Reply
#4

Try adding this to the stylesheet:

Code:
.cmtx_container {
    padding-left: 15px;
    padding-right: 15px;
}

.cmtx_comments_heading {
    margin-left: -15px;
}

.cmtx_form_heading {
    margin-left: -15px;
}

Have you completed the interview?
Reply
#5

(03-Oct-2014, 07:12 PM)Steven Wrote:  Try adding this to the stylesheet:


Code:
.cmtx_container {
    padding-left: 15px;
    padding-right: 15px;
}

.cmtx_comments_heading {
    margin-left: -15px;
}

.cmtx_form_heading {
    margin-left: -15px;
}

Tried it but still not quite right.

Margins on form but not on the comments and headings.
Reply
#6

You haven't added the .cmtx_container code that I posted. You can remove the .cmtx_form code.

Have you completed the interview?
Reply
#7

(03-Oct-2014, 08:36 PM)Steven Wrote:  You haven't added the .cmtx_container code that I posted. You can remove the .cmtx_form code.

I added this:

/**************************** Page ******************************/

.cmtx_container a {
outline-style: none;
 padding-left: 15px;
   padding-right: 15px;

}

.cmtx_container img {
border-style: none;
clear: none;
display: inline;
margin-top: 0px;
margin-bottom: 0px;
}

.cmtx_page_alert {
color: #FFFFFF;
background-color: #EE0000;
}

.cmtx_maintenance {
}

Which one?

I also tried added padding in just .cmtx_container (instead of .cmtx_container a) but no diffrence Sad another problem i have is that the rss alerts link doesnt seem to work properly.


Attached Files
.css default.css Size: 14.88 KB  Downloads: 18
Reply
#8

I've looked at your page again and you haven't added the ".cmtx_container" code on either of the links you sent me. You have added ".cmtx_container a" and ".cmtx_container img" but that won't work as it only targets links and images. In fact those are actually ruining the styling of those elements. I know you've said that you've added the ".cmtx_container" code and that it didn't work but I'm certain that it will work so please can you add it so I can see it not working. You've added it to the file that you've attached but that file is not the same file on your website.

Have you completed the interview?
Reply
#9

You have some odd characters at the very beginning of your /upload/rss.php file. Try placing your cursor at the very beginning of the file and press the delete button a few times to get rid of them.

Have you completed the interview?
Reply
#10

It might also work if you open the file in Notepad++ and go to "Format → Convert to UTF-8 without BOM".

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by emmanuel505
24-Jul-2021, 11:55 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

Forum Jump:


Users browsing this thread: 1 Guest(s)