• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 CSS syntax error in tag 'style amp-custom' - invalid declaration

Recep Baltaş

Well-known member
#1
Hi,

I started using AMP plugin and have sorted out most of the issues. But there is one error left.

CSS syntax error in tag 'style amp-custom' - invalid declaration.

Code:
Line 134:172
//left: 18px}.messageUserBlock
Code:
solid transparent;border-top-color:rgb(127, 185, 0);border-left-color:rgb(127, 185, 0);border-top-left-radius:5px;border-top-right-radius:3px;border-bottom-left-radius:3px;//left: 18px}.messageUserBlock
h3.userText{padding:6px}.messageUserBlock
I have found the code I think:

Code:
message_user_info.css
Line 49:

Code:
@property "messageOnlineMarker";
                border: 7px solid transparent;
                border-top-color: rgb(127, 185, 0);
                border-left-color: rgb(127, 185, 0);
                border-top-left-radius: 5px;
                border-top-right-radius: 3px;
                border-bottom-left-radius: 3px;
                //left: 18px;
                @property "/messageOnlineMarker";
Should I remove this code?

Code:
//left: 18px;
 

Steve F

Well-known member
#4
You didn't remove the '//' - better yet just remove that whole line 'left: 18px;' . I have no experience with AMP so I'm not sure if that is the only issue or if you have other problems.