psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 12:22:20 GMT -8
Apologies if this question was already mentioned and resolved.
The Yootil bar comes with four links: a stock market, money donations, monetary shop, and item trades. I only need the last three links/icons for my forum - the stock market has no functionality on my site and seems fairly redundant. I checked the plugin settings and it only allows me to move the bar around and enable/disable the entire bar, which isn't what I'm looking for. Is there any way to disable ONLY the stock market and just leave the other three? Thanks in advance.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 12:26:09 GMT -8
Apologies if this question was already mentioned and resolved.
The Yootil bar comes with four links: a stock market, money donations, monetary shop, and item trades. I only need the last three links/icons for my forum - the stock market has no functionality on my site and seems fairly redundant. I checked the plugin settings and it only allows me to move the bar around and enable/disable the entire bar, which isn't what I'm looking for. Is there any way to disable ONLY the stock market and just leave the other three? Thanks in advance. The path of least resistance I think would be to simply just target the Stock Market button and hide it with CSS. It'll still be "there", technically, but not accessible to click on. Does that work for you? If so, you can right click the stock market button and find the class name for it using 'inspect element', then use display: none; as a CSS override in your stylesheet(s per theme) targeting that class. If you need help with figuring out what to target, could you provide a URL? I'm not familiar with the classes off the top of my head.
|
|
psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 12:40:56 GMT -8
Thanks for reaching out. I'm checking the CSS sheet but I can't seem to find anything for Yootil in general on the theme, much less the spreadsheet? I should probably mention that I am using a premade skin for the forum so I'm not quite sure if I would find the Yootil Bar in there.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 12:54:01 GMT -8
Thanks for reaching out. I'm checking the CSS sheet but I can't seem to find anything for Yootil in general on the theme, much less the spreadsheet? I should probably mention that I am using a premade skin for the forum so I'm not quite sure if I would find the Yootil Bar in there. Ah, so, I'm actually talking about an addition to your style sheet. On the forum proper, find wherever the Yootil Bar appears, and specifically the Stock Market button. Hover over that button, right click, and select "inspect element". It should show you the HTML used to build that button, and within that HTML element provide a class. Once you figure out what class that element is, go to your Stylesheet for your theme (this will need to be repeated if you have multiple themes), scroll to the bottom, and add the following CSS: .classname { display: none; }And save changes. Be sure to replace classname with whatever the actual name of the class is. If you need additional assistance, it would be wonderful if you could provide me a URL to your forum so I can figure out the specifics (feel free to PM it to me if you don't want to share it publicly).
|
|
psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 12:57:50 GMT -8
My site can be found here. That makes more sense haha, would the class be #yootil-bar a img? I'm not sure if that applies to the whole bar though.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 13:17:05 GMT -8
My site can be found here. That makes more sense haha, would the class be #yootil-bar a img? I'm not sure if that applies to the whole bar though. Yeah, that would apply to the whole bar, more specifically all linked images within the bar. I'm not seeing the yootil bar though, so it may not show up for guests — can you tell me where it is?
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Aug 9, 2021 13:35:04 GMT -8
I took a look on my forum, Kami, and it doesn't look like each image has it's own class. They all fall under #yootil-bar a img {If they know the position, maybe it can be targeted with nth-child?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 13:47:49 GMT -8
I took a look on my forum, Kami , and it doesn't look like each image has it's own class. They all fall under #yootil-bar a img {If they know the position, maybe it can be targeted with nth-child? Thanks Lynx! Yeah, nth child would probably do it, alternatively do you have access to the build with that plugin? I'm wondering if you could just ... remove it. xD
|
|
psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 13:53:19 GMT -8
My site can be found here. That makes more sense haha, would the class be #yootil-bar a img? I'm not sure if that applies to the whole bar though. Yeah, that would apply to the whole bar, more specifically all linked images within the bar. I'm not seeing the yootil bar though, so it may not show up for guests — can you tell me where it is? It is in the bottom left. If it's not displaying then I guess the bar can't be accessible to guests? Which makes sense considering the shop/monetary system/etc. are for members. Unfortunately the plugin doesn't let me edit it the way I can go to the Build section of Plugins and edit the others.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 13:56:18 GMT -8
Got it. You could try:
#yootil-bar a img:nth-child(X) { display: none; }
You'd need to replace X with whatever number is appropriate for its position on the bar (1, 2, 3, or 4).
|
|
psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 14:30:12 GMT -8
Got it. You could try: #yootil-bar a img:nth-child(X) { display: none; }You'd need to replace X with whatever number is appropriate for its position on the bar (1, 2, 3, or 4). Gave it a shot, but it removes the entire bar instead of just the Stock Market option.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Aug 9, 2021 14:30:48 GMT -8
Yeah, no build on it. Also, has the OP tried just disabling the Stock Market in the Monetary System plugin? Doing that might remove it from the Yootil Bar. EDIT: psy - Disabling the Stock Market removes it from the Yootil Bar (just tested on my forum). Go to Admin > Plugins > Manage. From there, click on the Monetary System plugin (on the name, NOT the Edit button). At the top, you'll see a tab for Stock Market - click that tab. At the top, you'll see a choice for Enabled? - select No then scroll down and save changes. Go to the front end of the forum and refresh the page - the Stock Market icon should be gone from the Yootil Bar.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 14:48:04 GMT -8
Got it. You could try: #yootil-bar a img:nth-child(X) { display: none; }You'd need to replace X with whatever number is appropriate for its position on the bar (1, 2, 3, or 4). Gave it a shot, but it removes the entire bar instead of just the Stock Market option. RIP Yeah, no build on it. Also, has the OP tried just disabling the Stock Market in the Monetary System plugin? Doing that might remove it from the Yootil Bar. EDIT: psy - Disabling the Stock Market removes it from the Yootil Bar (just tested on my forum). Go to Admin > Plugins > Manage. From there, click on the Monetary System plugin (on the name, NOT the Edit button). At the top, you'll see a tab for Stock Market - click that tab. At the top, you'll see a choice for Enabled? - select No then scroll down and save changes. Go to the front end of the forum and refresh the page - the Stock Market icon should be gone from the Yootil Bar. Looks like MSG found the easiest solution of all x) Thanks buddy!
|
|
psy
New Member
howdy
Posts: 85
inherit
212412
0
Oct 26, 2024 6:55:47 GMT -8
psy
howdy
85
August 2014
crazycat450
|
Post by psy on Aug 9, 2021 15:33:29 GMT -8
Yeah, no build on it. Also, has the OP tried just disabling the Stock Market in the Monetary System plugin? Doing that might remove it from the Yootil Bar. EDIT: psy - Disabling the Stock Market removes it from the Yootil Bar (just tested on my forum). Go to Admin > Plugins > Manage. From there, click on the Monetary System plugin (on the name, NOT the Edit button). At the top, you'll see a tab for Stock Market - click that tab. At the top, you'll see a choice for Enabled? - select No then scroll down and save changes. Go to the front end of the forum and refresh the page - the Stock Market icon should be gone from the Yootil Bar. The stock Market does not show up on the Monetary System plugin. Checked the Yootil and even Monetary Shop plugins in case I was just overlooking something but still, nothing.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Aug 9, 2021 16:06:19 GMT -8
Found this in the support thread for this plugin (oops):
a img[title="Stock Market"] {
display: none;
}
|
|