1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 style floating notice

Discussion in 'Styling and Customization Questions' started by maszd, Jul 18, 2015.

  1. maszd

    maszd Active Member

    Hello,
    i am try to make a custom style to float notice with add this code on extra.css :
    Code:
    .floatingItem.custom1
    {
        color: #000;
        background: white;
        background: rgba(255,255,255, 0.8);
        border-color: #176093;
    }
    and add this class name on notice option like this:
    Capture1.PNG
    but not working, any help will be appreciated.
    thank you.
     
  2. Adam K M

    Adam K M Active Member

    @maszd You can omit the "floatingItem" from your custom CSS class name.

    Although from my tests, for some reason telling it to use custom CSS renders class="floatingItem custom" regardless of my Custom Class Name. Maybe I should update to xenForo 1.5 beta 2. Haha
     
    maszd likes this.
  3. maszd

    maszd Active Member

    thanks @Adam K M but still not working.
    result like this :
    Capture.PNG
    i am use xenForo 1.5 beta 2
     
  4. Adam K M

    Adam K M Active Member

    Try changing your css class to be ".custom" instead of ".custom1", seems to be a bug with one of 1.5's templates.

    Is this on the radar, @Brogan ?
     
    maszd likes this.
  5. maszd

    maszd Active Member

    thank you very much @Adam K M its working now as expected (y)
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    No issues have been reported as yet, but that sounds like it could be relevant.

    To confirm, regardless of the custom class typed, the custom class is "custom"?
     
  7. Adam K M

    Adam K M Active Member

    Yes, that's what I experienced.
     
  8. Chris D

    Chris D XenForo Developer Staff Member

    That is now fixed in the next release.
     
    maszd likes this.

Share This Page