-
-
I’m trying to customize the CSS of my individual pages to do things like change the header colour or remove it, however I don’t see any option for custom CSS in the customizer. I feel dumb, can someone point it out? When I followed a WordPress link to it it just brought me to the customizer but not to a custom CSS tab.
I’m running WordPress 5.2.2.
-
Oh and a secondary question – how can I change the base URL of the portfolio items / pages to be the root of the site?
For example right now the portfolio items / pages are all under https://mysite.com/site/portfolio/ but I’d just like them to be under the root which is https://mysite.com/site/
-
Hello,
1. Custom CSS code is on Customizer -> General -> Custom Codes
2. The Portfolio slug can be changed on Customizer -> Custom Types -> Portfolio -> Portfolio Slug.Let me know
Thank You
-
Aha! Thanks, I was able to find the Custom CSS area.
I’m actually trying to change the bit before the slug, though I realize my example above wasn’t too clear on that. Here’s a better example:
https://mysite.com/site/portfolio/page-slug
I’d like to ideally have the url just be:
-
The CSS I was trying to use to change the header on individual pages is updating it on all pages, which is useless because I might as well just change the header colour setting manually.
What’s the best way to change the header and footer colours on individual portfolio items / pages?
-
Hello,
1-This is not possible with theme options, but you can use a custom plugin for the job: https://wordpress.org/plugins/custom-permalinks/
2-To have the custom css target only specific pages/posts, you need to add these pages/posts id’s in the code. Find the id’s by checking the page with Inspect Element (press F12 in your keyboard).
See example:.page-id-1467 .cl-custom-heading span { display: inline; }
screenshot: https://ibb.co/8d7JPS3
Best regards!
-
You must be logged in to reply to this topic.