Announcement

Collapse
No announcement yet.

How to get the additional.css working?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [vB4] How to get the additional.css working?

    My friend is working on the addtional css file added in vbulletin 4.01, but she is having some sorta problem. This one does not seem to work in the same way as vb3.84 css, as some of the functions do not work properly. For instance:

    Originally posted by eclair
    lets say in the additional.css I put "text-shadow: #F6358A 1px 1px 10px;"
    the text shadow don't appear
    So how to make a text shadow to appear in this additional css? I'd appreciate it very much if I receive an answer from anyone of you.

  • #2
    Is that all of the code? additional.css is just a css file that will get included on every page. You need to have a proper class and markup otherwise it won't read.

    Assuming your css is valid:
    Code:
    .shadowtext {text-shadow: #F6358A 1px 1px 10px;}
    Then you'd need to use the .shadowtext class on an element.

    Comment


    • #3
      Sorry to ask this noobish question, but what is an 'element'?

      Comment


      • #4
        To give you an example:

        The 'element' marked as red:
        <strong>lorem ipsum</strong>
        <h1>headline</h1>

        You can add a shadow by giving this elements the class of 'shadowtext'.
        <strong class="shadowtext">lorem ipsum</strong>
        <h1 class="shadowtext">headline</h1>


        If you are using a class, you must add a '.' in front of the classname. If you apply this class to an element, you must not include the '.'.
        That's the end of that!

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X