Page Builder has always worked well for me in the past, but for some reason the custom CSS I’m adding to the Attributes area simply isn’t working. I’m adding a class name (that doesn’t show up in the page source), along with styling (the styling shows up but doesn’t work).
I can target the Page Builder CSS in my child theme, but I’d prefer to be able to target my own CSS classes. The ability to add one-off styles would be useful too.
Is there something I’m missing?
I’m using the latest Page Builder with WordPress Twenty Thirteen.
Thanks,
F
Hi Fran
Would it be possible for you to create a temporary admin account for us so we can log in and take a look? You can create the account with the following email address:
[email protected]
Just navigate to Users > Add New in your WordPress admin. Enter siteorigin for the username and [email protected] for the email address. Make sure you’ve selected Administrator for the role and enabled the “Send Password” field so we receive the details.
Once we’re finished taking a look, you can delete this account. We’ll let you know when to do that.
This is a private message.
Sure. Thanks for your help, it’s appreciated.
This is a private message.
You should have received an email message – let me know if you haven’t.
F
Thanks :)
Do you have an example page where classes aren’t printing or styles aren’t working?
Here is test page I just created. Everything looks normal:
Click here for a larger version
This is a private message.
The only row there with a row class is the last one. The footer class is printing. One above that there is a widget class of writing, that’s printing too.
Am I perhaps missing the question?
I’ve checked your child theme style.css file. You’re not targeting those classes there so I’m guessing you were still going to do that part.
The .writing class seems editable, but the menu block and the footer block aren’t taking any edits to the class names I’ve assigned (either through the Attribute section or the child CSS).
The footer I’ve had to style like a normal WordPress page.
Does that make any sense? (I hope so!)
Sorry, not quite with you. Are you saying you set a class name and now can’t change that class name?
Here is my guess. Page Builder looks to be functioning normally. If you’d like, please, send the CSS you were using to target these classes and I’ll take a look at that.
This is a private message.
Thanks. I see now. The challenge here isn’t Page Builder. Classes and declarations are being added as per spec. The challenge is just regular CSS stuff.
Let’s take a look at the menu block. Why isn’t the background color declaration working? This post explains a bit:
http://stackoverflow.com/questions/14967413/background-color-not-showing-for-a-div
So an easy fix there is to to target with:
Or if you just want to add these to the CSS styles field it would just be:
No closing ; is required when using the row CSS styles field.
This is a private message.
For sure, glad we could help.
All the best.
This is a private message.
This is a private message.