Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 Custom BBCode Problems
#
I'm trying to make a BBCode for our approved stamp but it just won't work.

I put the divs into the stylesheet but it's just not working when I put it into the BBCode. It should look like THIS but it ends up looking like THIS.

here's the CSS:

CODE

.approved-contain {
 position: relative;
 height: 429px;
}
.approvedtext h1 {
   font:100px 'abril fatface';
    color:#d9e9f1;
    margin-top: -330px;
    margin-left: 55px;
}  
   
.approvedline {
   width:260px;
    height:2px;
    top: 20px;
    background:#7e9bab;
    position: relative;
    margin-left:230px;
    margin-top: -100px;
}

.approvedline h2 {
   font:10px 'archivo narrow';
    font-weight:700;
    color:#fff;
    letter-spacing:7px;
    text-transform:uppercase;
position: relative;
top: 25px;
left: 45px;

}

.approvedline h2 i {
   font-style:italic;
    color:#868b9f  



and the HTML

CODE

<div align='center'>
<div class="approved-contain">
<img src="https://i.imgur.com/Xhhv9GZ.jpg">
<div class="approvedtext"><h1>(PRAM1)</h1></div>
<div class="approvedline"><h2>(PRAM2)</h2></div></div></div>
</div>


I didn't set up the BBcode - one of my members tested it on their site and it worked fine but when I used it it didn't. Another weird thing is that when I went to quote the post where the failed BBCode was it showed all the divs instead of just the BBCode. The link to my site is SINSOMNIA


Any help would be greatly appreciated.


This *might* be because I have run out of space in my stylesheet. I've sent John an email about it, but just in case that isn't why this code isn't working I'm going to keep this topic up)

This post has been edited by SamanthaPaige: Jan 10 2018, 12:26 AM
PM
#
Isn't it supposed to be (PARAM), and not PRAM?
PM
#
Syntax is incorrect.

You have (PRAM1) when it should be (PARAM1) and (PRAM2) when it should be (PARAM2)

PARAM = short for parameter.

signature
email: admin@jcink.com :: blog: John C.
#
That might be the issue, though it did work on another site. We ended up just using multi-moderation for it instead of a BBCode.

However, the codes at the bottom of our stylesheet stopped working and when I moved them up in the stylesheet they started working again. So I think we may have run out of room in our stylesheet.

John
PM
#
That is not a space issue. This means that your stylesheet has a syntax error in it some point and it is cancelling everything past that point with the error. Carefully look it over to ensure all elements are open and closed fully.

If you were running out of room, you would be having the end of your sheet cut off.

signature
email: admin@jcink.com :: blog: John C.
#
It's not 100%, but sometimes running your site thought this will help you find the error, or at least narrow down where to start looking.

signature
user posted image

kindly do not use my site Discord / DM / PM me for support.
#
    I checked in your stylesheet and can't find the approved template codes in it. I'm assuming because you didn't add them. With what you've copied/pasted there, it looks like it did get randomly cut off at the end of it. I wanted to see if they were cut off directly in the view source, or if there was indeed a syntax error where the CSS wasn't closed somewhere properly.
PM
#
SamanthaPaige I have increased your css size now to rule out any cut off issues.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll