Xenon Duel Academy


Join the forum, it's quick and easy

Xenon Duel Academy
Xenon Duel Academy
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Like bug

+4
Kyonaru
Phoenix King
Shine Eternal
Pizza Boi
8 posters

Go down

Like bug Empty Like bug

Post by Pizza Boi Mon Mar 24, 2014 7:29 am

Hi Very Happy

Guys, I couldn't help but stalk some of the topics and noticed that something was a little off. I checked it out and apparently, the LGlike system is out of place, rather, placed in the lowest right corner, am I right?

Here is what it looks like for my view:

Like bug Like10

And then I formulated a code to move it with the proper selector:

ACP < Display < Colors < Stylesheet < Paste this code < Save

Code:
span.LGlike {
position: relative;
right: 30px;
top: 5px;
}

Also, moving it to the uppermost top will not work properly because the like button will disappear for other posts with the length of the post to consider as a factor.

Hope it helps!

Regards,
Token Gay
Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Shine Eternal Mon Mar 24, 2014 8:22 am

so your a coder, i see haha well glad your here to help out XDA as much as you have Very Happy
Shine Eternal
Shine Eternal
Obelisk BLue
Obelisk BLue

Posts : 18
Contribution : 29
Reputation : 1
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Phoenix King Mon Mar 24, 2014 8:36 am

Oh man, Kyo will be pissed, we got a Ra slowly but surely kicking his butt in coding.
Phoenix King
Phoenix King
Exodia Platinum
Exodia Platinum

Posts : 208
Contribution : 266
Reputation : 9
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Shine Eternal Mon Mar 24, 2014 9:24 am

kyo is a coder too Surprised such beautiful art it is.
Shine Eternal
Shine Eternal
Obelisk BLue
Obelisk BLue

Posts : 18
Contribution : 29
Reputation : 1
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Kyonaru Mon Mar 24, 2014 1:54 pm

Phoenix King wrote:Oh man, Kyo will be pissed, we got a Ra slowly but surely kicking his butt in coding.
Because that's a code not even pros can write, let alone me... damn PK you found me a worthy challenger capable of writing in basic CSS. You should be proud.

As for the code, that might fix the problem for you but it will move the button for other people, too. I'd rather use "margin-right: xx%;" to move it to where it's supposed to be, or find another way. Using the code I provided will make sure to fix the button in the same position for everyone no matter the screen resolution, ratio, or whatever.
Kyonaru
Kyonaru
Exodia Platinum
Exodia Platinum

Posts : 596
Contribution : 798
Reputation : 54
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by TheLifeLessOne Mon Mar 24, 2014 3:17 pm

Token Gay I'm glad you are helping us with all this coding to make XDA an even more pleasant academy.
TheLifeLessOne
TheLifeLessOne
Moderator
Moderator

Posts : 419
Contribution : 490
Reputation : 12
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by The Very Ugly Duckling Mon Mar 24, 2014 6:50 pm

Thanks for the quick fix token gay.


Didn't even notice that error myself. XP
The Very Ugly Duckling
The Very Ugly Duckling
Moderator
Moderator

Posts : 196
Contribution : 247
Reputation : 8
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Pizza Boi Tue Mar 25, 2014 6:12 am

Hi Very Happy

Lol, sorry, but I personally think I'm a newbie in comparison with him since I'm only Pizza Boi Smile .

Edit: I tried Kyonaru's idea. It didn't exactly work Smile .

Regards,
Token Gay/Pizza Boi

Last edit: Guys, did you notice that I'm the only one without the "LGlike" button. Apparently, the box code I have and its position along with its size cancels it out considering the signature area is being affected with the code; however, not everyone uses a box signature so meh :/ .
Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Angelic One Tue Mar 25, 2014 8:51 am

Token Gay wrote:Hi Very Happy

Lol, sorry, but I personally think I'm a newbie in comparison with him since I'm only Pizza Boi Smile .

Edit: I tried Kyonaru's idea. It didn't exactly work Smile .

Regards,
Token Gay/Pizza Boi

Last edit: Guys, did you notice that I'm the only one without the "LGlike" button. Apparently, the box code I have and its position along with its size cancels it out considering the signature area is being affected with the code; however, not everyone uses a box signature so meh :/ .

You cant see the like button on your posts, i see it though. Its to prevent you from liking your own posts Razz
Angelic One
Angelic One
Administrator
Administrator

Posts : 426
Contribution : 500
Reputation : 7
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Pizza Boi Tue Mar 25, 2014 8:59 am

One4All wrote:
Token Gay wrote:Hi Very Happy

Lol, sorry, but I personally think I'm a newbie in comparison with him since I'm only Pizza Boi Smile .

Edit: I tried Kyonaru's idea. It didn't exactly work Smile .

Regards,
Token Gay/Pizza Boi

Last edit: Guys, did you notice that I'm the only one without the "LGlike" button. Apparently, the box code I have and its position along with its size cancels it out considering the signature area is being affected with the code; however, not everyone uses a box signature so meh :/ .

You cant see the like button on your posts, i see it though. Its to prevent you from liking your own posts Razz

Oh yah, forgot about the illogical thinking. Sorry, fail at that~
Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Kyonaru Tue Mar 25, 2014 9:52 am

Token Gay wrote:Edit: I tried Kyonaru's idea. It didn't exactly work Smile .
As in, it didn't move the button or didn't place it where you wanted? The x'es are supposed to be numbers (just in case you didn't... know lol).

Either way if that didn't work at all try "padding-right: xx%;". Although I doubt that will give the desired effect.
Or, you can set a specific (relative) position, like you did, and use percentage values to position it, but it's gonna be... kind of hard.
Kyonaru
Kyonaru
Exodia Platinum
Exodia Platinum

Posts : 596
Contribution : 798
Reputation : 54
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Pizza Boi Tue Mar 25, 2014 9:56 am

Nope, already tried this:

Code:
.LGlike {
padding-right: 30px !important;
margin-right: 30px !important;
}

Or without the other one. Btw: Padding only increases the size and doesn't technically 'move' it, margin, on the other hand, can move it; however, it creates an extra 'space' in a specific area while position: relative + top: #px only moves it on the canvas and doesn't extend it.
Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Kyonaru Tue Mar 25, 2014 9:59 am

Token Gay wrote:Nope, already tried this:

Or without the other one. Btw: Padding only increases the size and doesn't technically 'move' it, margin, on the other hand, can move it; however, it creates an extra 'space' in a specific area while position: relative + top: #px only moves it on the canvas and doesn't extend it.
Yes, that's why I said you probably wouldn't get the result you wanted.
However my concern is that if you use pixel values to move it, the button will move by that value for other users as well, so it may appear misplaced. That's why I suggested using percentage values with the code you told us to use.
Kyonaru
Kyonaru
Exodia Platinum
Exodia Platinum

Posts : 596
Contribution : 798
Reputation : 54
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Pizza Boi Tue Mar 25, 2014 10:03 am

Aight, aight.

Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by BlackLeg-Sanji Tue Mar 25, 2014 10:44 am

Token your code didn't work tho ;s It just made a gap between the button and x Likes text
BlackLeg-Sanji
BlackLeg-Sanji
Administrator
Administrator

Posts : 615
Contribution : 1298
Reputation : 23
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Pizza Boi Tue Mar 25, 2014 1:02 pm

Like bug Works_10

Works for me, did you declare !important?
Pizza Boi
Pizza Boi
Ra Yellow
Ra Yellow

Posts : 70
Contribution : 93
Reputation : 6
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Kyonaru Tue Mar 25, 2014 1:03 pm

You have to use the same code for .LGlikecount also.
Although I still suggest you use percentage values instead of pixels...
Kyonaru
Kyonaru
Exodia Platinum
Exodia Platinum

Posts : 596
Contribution : 798
Reputation : 54
Warning : No warning

Back to top Go down

Like bug Empty Re: Like bug

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum