Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #23  
Old 03-22-2016, 04:26 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 143,804
Kyttias is on a distinguished road
Default

??? The text is appearing, right? (And it should only appear sometimes, not all the time. If you really want something to appear all the time I'll have to modify the code.) If you want the text to appear in a speech bubble, you're going to need to style the div the text is in with css. I already told you that the div has a css class of "speechbubble". You can add something like this to your template theme's css:

Code:
.speechbubble {
position: relative;
padding: 15px;
text-align: center;
background: #FFFFFF;
-webkit-border-radius: 53px;
-moz-border-radius: 53px;
border-radius: 53px;
border: #7F7F7F solid 2px;
}

.speechbubble:after {
content: '';
position: absolute;
border-style: solid;
border-width: 15px 15px 0;
border-color: #FFFFFF transparent;
display: block;
width: 0;
z-index: 1;
margin-left: -15px;
bottom: -15px;
left: 50%;
}

.speechbubble:before {
content: '';
position: absolute;
border-style: solid;
border-width: 16px 16px 0;
border-color: #7F7F7F transparent;
display: block;
width: 0;
z-index: 0;
margin-left: -16px;
bottom: -18px;
left: 50%;
}
Here's a neat site where you can use a generator to style a speech bubble. When you're done, look at the very top edge of the page for a button that "CSS" and it'll pull down the code - change the class name from .bubble to .speechbubble and then that should work. Above, I've also done three other things that their generator doesn't do - I removed the width and height, for one, and two, I centered the text. This way it'll be only as big as it needs to be.
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:02 PM.

Currently Active Users: 1171 (0 members and 1171 guests)
Threads: 4,082, Posts: 32,047, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636