Hi,
Is it possible to customize the Vantage “lovely big headline” (LBH) widget or for that matter the “visual editor” widget for different pages. Forinstance the LBH widget defaults to text center. I would lihgt to float it left on a different page, and also change the font size of style. I tried going into page builder and viewing as text and changing from h1 to h2 for instance and it won’t let me do that. Perhaps I have to create a for the particular page in question, but I’m not sure how to proceed.
Thanks so much,
Hugh
Hi Hugh
It’s not possible to edit Page Builder content via the Text or Visual tabs. Page Builder content can only be edited via Page Builder. The Headline widget doesn’t have any formatting options. You can insert the following under Appearance > Custom CSS and change the properties as required:
To make that change apply to only one page or post you’d need to prefix each selector with the unique body class found on each page or post.
Thanks Andrew. Do you have an example of how would do the prefix. Are we still talking about modifying the child style.css or does it require tweaking the php. I’m thinking maybe the latter?
Please remember that unless you’re working in a child theme it’s best never to use Appearance > Editor or edit your style.css file. Whenever you update a theme everything gets overwritten. With CSS like this it’s easiest to paste it into Appearance > Custom CSS.
Each page has a unique body class, sometimes it’s easy like home is just .home:
There will be lots of other classes in there but you’ll see home in there for the home page or blog for the blog page. Then for pages or posts you’ll see a class that might look like: postid-10.
So to prefix these headline selectors for say the home page would look like this:
To find body classes you need to inspect your page source. Easiest done with your browser’s developer tool. Please see our tutorial: https://siteorigin.com/basics/modifying-theme-design-with-custom-css/
Thanks that’s realy helpful. I’ll try that.
For sure.