The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fixing the position of LIKE button

3 posters

Go down

Fixing the position of LIKE button Empty Fixing the position of LIKE button

Post by Glazella 9/7/2012, 15:40

Hello! I successfully put the like button on our forum but then the position seems awkward Sad Is there a way to lower the like button? Because it's way too high that it reaches the line above quote edit delete icons~

Fixing the position of LIKE button Untitl11
avatar
Glazella
Forumember

Posts : 68
Reputation : 2

http://jiyeonworldwide.com

Back to top Go down

Fixing the position of LIKE button Empty Re: Fixing the position of LIKE button

Post by LGforum 9/7/2012, 19:25

Add some margin-top in the css.
.LGlike{ margin-top: 5px }
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Fixing the position of LIKE button Empty Re: Fixing the position of LIKE button

Post by Glazella 10/7/2012, 10:41

Hi~ I was able to do it but nothing happened plus the bg color disappeared Sad Is there something wrong with it? Here's my code:


Code:
.LGlike {{ margin-top: 5px }
background: #A1D0FC;
padding: 4px;
border-radius: 4px;
color: #333
      333;
font-size: 12px;
font-weight: bold;
text-shadow: -1px 0.5px #333
 333;
box-shadow: 1px 1px 1px #333
 333;
cursor: pointer;
  margin-right: 4px;
}

BTW, is there a way to put a bg-image for like instead of just a text with bg color? Question
avatar
Glazella
Forumember

Posts : 68
Reputation : 2

http://jiyeonworldwide.com

Back to top Go down

Fixing the position of LIKE button Empty Re: Fixing the position of LIKE button

Post by SLGray 10/7/2012, 12:29

Try this:
Code:
.LGlike {
    margin-top: 5px;
    background: #A1D0FC;
    padding: 4px;
    border-radius: 4px;
    color: #333333;
    font-size: 12px;
    font-weight: bold;
    text-shadow: -1px 0.5px #333333;
    box-shadow: 1px 1px 1px #333333;
    cursor: pointer;
    margin-right: 4px;
}


Fixing the position of LIKE button Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Fixing the position of LIKE button Empty Re: Fixing the position of LIKE button

Post by Glazella 10/7/2012, 13:02

Uh~ nothing happened, just the LIKE word became thicker (bold) Sad
avatar
Glazella
Forumember

Posts : 68
Reputation : 2

http://jiyeonworldwide.com

Back to top Go down

Fixing the position of LIKE button Empty Re: Fixing the position of LIKE button

Post by LGforum 10/7/2012, 15:39

Try changing this line in the CSS: .LGvote { margin: 0 5px; }
To: .LGvote { margin: 5px 5px 0; }
Changing the first 5 to anything that works for you.

To add background image, just add it in the css.
http://www.w3schools.com/cssref/css3_pr_background.asp
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

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