Home>Support>SiteOrigin PageBuilder’s CSS hierarchy

SiteOrigin PageBuilder’s CSS hierarchy

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Does anyone have knowledge (partial or in-depth) regarding PageBuilder’s CSS structure, skeleton or hierarchy? Thanks, David.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 7 days ago Alex S
    Hi, I Work Here

    Hi Dwoosley,

    Here’s my typical response to questions like this. Please copy it to notepad or anything that has word wrap so it’s easier to read.

    #pl-POSTID
    	- This is the overall post wrapper that is inserted by page builder.
    	- Very little reason to write a selector with this included.
    
    	#pg-PAGEID-ROWORDERINGNUMBER .panel-grid
    		- Each row has .panel-grid attached to them for easier referencing
    		- each row has a unqiue ID.
    
    		.panel-row-style
    			- Only present if row styling is applied.
    			- Heads up: Row layouts apply styling
    
    		#pgc-PAGEID-ROWNUMBER-COLUMNNUMBER .panel-grid-cell
    			- The same as the row structure
    			
    			.so-panel .widget .widget_WIDGETSLUG (.panel-first-child / .panel-last-child)
    			- .so-panel and .widget are there so you can easily target widgets
    			- .widget can be disabled in page builder settings if theme conflict
    			- .widget_WIDGETSLUG will allow you to specically target certain widgets
    			- .panel-first-child / .panel-last-child are present depending on context. If only one widget is present both will be applied.
    

    Are any specific questions you have about it?

  2. 9 years, 6 days ago dwoosley

    Alex,

    Here’s as far as I got over the weekend.

    Basic CSS

    For obvious reasons, I’d like to use generic classes instead of classes used by a specific page ID, row number and column number. Any time and advice are appreciated.

    Thanks,

    David

  3. 9 years, 6 days ago Alex S
    Hi, I Work Here

    Hi David,

    Oh neat. The ??? is the #pl-POSTID div (could also be named page builder wrapper or something like that) which is just a wrapper.

    Could you clarify what you’re using for? I’m very interested. If you need to keep this private from other users, just select “Private Reply” on the bottom right of the comment box.

  4. 9 years, 6 days ago Private Message - dwoosley

    This is a private message.

  5. 9 years, 6 days ago Private Message - dwoosley

    This is a private message.

  6. 9 years, 6 days ago Private Message - dwoosley

    This is a private message.

  7. 9 years, 6 days ago Private Message - dwoosley

    This is a private message.

  8. 9 years, 6 days ago Private Message - dwoosley

    This is a private message.

  9. 9 years, 5 days ago Private Message - dwoosley

    This is a private message.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More