CSS broken when using FLBuilder::render_query

About this forum
These forums have not been active for several years. They're available for search and reference, but a lot of this information is likely out of date.

For current information, try visiting our Knowledge Base.

Home / Support / General Questions / CSS broken when using FLBuilder::render_query

This topic is: resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #110048

    Rick
    Participant

    I did search the forum and saw some similar posts to this, apologies if I’m repeating but unsure if my case is different and perhaps I am just missing something simple?

    In a plugin I have a function using FLBuilder::render_query (hooked) to display a specific post from a Custom Post Type.

    At first I displayed it the normal wordpress way the_content and that had no CSS at all 🙂
    Then I worked out I should be using FLBuilder::render_query
    Your render_query seemed great for about 5 seconds till I realised it behaved as follows (for me):

    1. On pages where there is already BB content it displays with the grid/columns intact but the rest of the CSS like font colours and background colours are missing
    2. On pages like single.php with no existing BB content ALL CSS is missing including the grid, so your columns drop to a single toilet roll

    Is there a simple way I can sort this problem? I’ve tried wrapping it in fl_builder classes etc. with no luck.

    #110183

    Ben Carlo
    Keymaster

    Hey Rick,

    Welcome to the BB forums! 🙂

    Do you think you can share temp admin access to the site you’re working on so we can check? You can post the details here using the private reply option below.

    Ben

    #112792

    Rick
    Participant

    …It mysteriously fixed itself, after an upgrade 🙂

    #112873

    Ben Carlo
    Keymaster

    Cool! And thanks for taking the time to inform us. 🙂

    Enjoy BB!

    Ben

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General Questions’ is closed to new topics and replies.