Recent content by makanyane

  1. M

    XF 2.3 Sticky elements in sideNav ?

    I've got the last element of my side bar sticking nicely to the top of view in long threads by using: .p-body-sidebar > div:last-child { position: sticky; top: 68px; } I'm failing miserably to get anything similar to work for the sideNav on the left, the div blocks for that are in...
  2. M

    XF 2.3 Widget condition for thread/page length

    nvm I've realised I need to use the remainder between reply count and posts per page somehow EDIT: but actually still also to know if it's the last page in the thread or not, otherwise the remainder size gets applied to all the pages...
  3. M

    XF 2.3 Widget condition for thread/page length

    I have a widget display condition that works for widgets in thread_view sidebar $context.thread.reply_count > 10 with the aim of limiting the amount of widgets displayed on vertically short pages. I'm trying to work out a way of also accessing the page number or some other variable in the...
  4. M

    More Threads

    Having a second unique class on the 'More threads by...' button as well as the button--link, that everything uses would have been very useful I need to change its positioning without hitting all the other link buttons and it's getting very frustrating to work out how!
  5. M

    Collapsible Node Categories

    I've got this to work quite well for a grid display which gives an overlay that shows the expanded content when toggled. I need it to default to the collapsed view, which it does on Firefox, but Chrome defaults all the categories to expanded. Any Ideas?
  6. M

    XF 2.3 Getting forum node summaries to appear on static page?

    If I've got a forum node that looks like this on the forums index is there a way of calling that whole element and getting it to appear on a static page, .e.g. a 'front page' that is locked to a style and PAGE_CONTAINER that we'd use as the landing page for the site? So we can serve the live...
  7. M

    XF 2.3 CSS for all nodes within category node?

    That does look like it should work, but it looks like it is still relying on inputting all the node numbers of the child forums manually? Our site is still getting ported at the moment, so I can't link, but it's similar to this; I'd want every forum (and hidden sub-forums under them) here to...
  8. M

    XF 2.3 CSS for all nodes within category node?

    Yeah, I was hoping to avoid that, as it seems easier for people to break things radically with PAGE_CONTAINER! though, adding a class/different inner <div> to the header depending on conditional would allow that class's CSS to be set elsewhere If I did go that route any idea on a conditional...
  9. M

    XF 2.3 CSS for all nodes within category node?

    Thanks, but there will be other selectable styles across the site. This header and its variants are likely only appearing within the one style.
  10. M

    XF 2.3 CSS for all nodes within category node?

    I've got header banner images that can change via extra.less: [data-container-key="node-10"] .p-header { background-image: url("data/assets/style_properties/my_banner_variant.webp"); } That works, and if node-10 is a 'forum' all the threads in the forum show with that header. If node-10 is a...
Back
Top Bottom