Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 new skin stylesheets [SOLVED] , Same styles, different skin?
#
helloo! I'm not sure if this is a thing I am allowed to do. Not sure how I can work around it somehow or how to set it up so that it works, but here's the deal.

I am making a new skin in my forum. It is not set as default and it is hidden from members while I work it out. I can still see it from my account. The two skins on my forum are working fine when I look at both of them one by one, except for the doHTML stuff in my posts. For example, I have:

CODE
[dohtml]<div class="sid"> hey </div>[/dohtml]
in my posts. The code is in the stylesheets of Skin Set 001. I can see it when I'm viewing the post in Skin Set 001.

But when I switch to Skin Set 002 and look at the post, it is not showing up. And yes, I did bring the .sid CSS from the stylesheets of my Skin Set 001 to the Skin Set 002. Is there something I am missing to make the dohtml work?

My goal is to make it so that when you select a different skin, <div class="sid"> can work for both of them, but the style inside .sid { } would be different. I hope this question isn't confusing! Basically, I want .sid { color: #fff} to work in my stylesheets of Skin Set 1 and .sid { color: #000 } to work in the stylesheets of Skin set 2. As of now, skin set 2 isn't showing the dohtml stuff in my posts that I made using Skin Set 1's stylesheets, even though the css is copied over.

FYI, the post does work when I put the code right in the post inside <style*> tags.

This post has been edited by sidsidsid: Oct 15 2016, 06:18 PM
PM
#
To be clear:

You are inserting a div with a class "sid" into a post

You are trying to set the style of "sid" via the Stylesheets area of the Admin CP, and it isn't working?

You set it via <style> tags within the post itself, and it does work?

Is this an accurate assessment of the situation?

signature
email: admin@jcink.com :: blog: John C.
#
Basically, yes!
PM
#
What I suspect is that you have syntax errors in your CSS somewhere that are cancelling out the class. Try putting the class at the very top of your stylesheet and let me know if that worked. If it does, you've got errors in the syntax somewhere. I can take a look at the skin if you provide a test account with that skin switched to it

signature
email: admin@jcink.com :: blog: John C.
#
I found the error, thanks for the help!!
PM
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll