Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Implemented Add classes to sidebar widgets

Discussion in 'Showcase Closed Suggestions' started by MagnusB, Jan 7, 2013.

  1. MagnusB

    MagnusB Member Showcase

    Just added the sidebar for recent items for xenporta, and I really think the template for this could use a couple of classes, especially for the parent dl. Right now I am using a style="" in that template just to get a padding on the left side, but I'd much rather use extra or similar so I don't have to edit the template each time I update..
  2. Bob

    Bob Developer Staff Member

    I could probably toss some unused classes in those elements. I've pretty much left them RAW so people can do what ever they want to with them.
  3. Bob

    Bob Developer Staff Member

    added 3 classes.. to the DL, DT and DD elements. These are such very basics layouts that are support to be driven off of core xenforo CSS (so that they work with custom styles). Anyway, you should be able to take care of pretty much everything with these 3 classes. I added them to ALL xenporta sidebar blocks.

    MagnusB likes this.
  4. MagnusB

    MagnusB Member Showcase

    Yeah, that kinda makes sense, but I think 99% of users would only do minor tweaks to the CSS, and not redoing the entire content. I think it would only make sense to apply a class to the parent dl, the rest use standard xF classes, which looks nice, at least in the style I am using and the default style. Judging from the classes they use, it should work in most styles. It would just be nice to have a unique parent class, so you can use that for detailed styling.
    Bob likes this.
  5. Bob

    Bob Developer Staff Member

    Personally, I'd make my own layouts :D I just threw those together quickly as default layouts to at least have "something". Figured most people would want to make their own unique blocks. That for me was one of the fun things I liked to do with vbadvanced :)
    MagnusB likes this.
  6. MagnusB

    MagnusB Member Showcase

    It's not that I am not able to do it, I am just too lazy to do it :D Also, what I am trying to achieve can mostly be done by tweaking the CSS, or more often I try to reuse xF classes (again, lazy).

    Also the way templates works in xF, the less you have to edit them, the better, cause I really hate reverting highly customized templates. That being said, I just worked on the profile tab and I only had to add one class and two (or maybe three) CSS rules to make it a more "unified" look :D
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.