-
AuthorPosts
-
April 26, 2015 at 7:14 pm #259128
Hi i’ve been trying different ways to add css on post settings to no avail. Look at this image to see how I am doing it, and if its wrong the way I do, then let me know how to do.
April 26, 2015 at 7:18 pm #259131April 26, 2015 at 11:36 pm #259253Hi There,
Thanks for writing in! That was actually an class field. You need to place your custom CSS rules under Custom > CSS in the Customizer.
Hope it helps, Cheers!
April 27, 2015 at 6:38 am #259484yeah i tried..so that field won’t work for nothing?
April 27, 2015 at 7:02 am #259502Hi There,
In this case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:– Link to your site
– WordPress Admin username / PasswordDon’t forget to select Set as a private reply. This ensures your information is only visible to our staff.
April 27, 2015 at 11:33 am #259726This reply has been marked as private.April 27, 2015 at 3:12 pm #259894Hi There,
I tried to add your code under Custom > CSS in the Customizer and it did worked fine. The entry wrap of the pages does have an pink background now. The class field is when you need to apply style to the specific page. For example you want only the “about page” entry wrap to have the pink background. You add “myclass” to the class field of the about page, and your css code will be like this:
.myclass .entry-wrap { background-color: pink; }
Hope it helps, Cheers!
April 28, 2015 at 9:20 am #260607yes, but in in the body css field from post settings,it doesn’t work well putting those classes, i did tried in the customizer, but i want to use the body css so i dont have to go there…also give me an example to add a custom class to the body css from the post/pages settings and we will done with the discussion. Thank you.
April 28, 2015 at 11:23 am #260698Hi There,
To add Custom CSS class to<body>
, in WordPress Dashboard, please go to edit the page / post you want to add custom CSS classes, then scroll down to Page Settings / Post Settings > Body CSS Class(es) > add your custom classes.
For more information about the page / post meta, please take a look at these articles:
– https://theme.co/x/member/kb/meta-options-pages/
– https://theme.co/x/member/kb/meta-options-posts/
Hope it helps.April 30, 2015 at 12:46 pm #262427Yes, I know that, but give me an example of how can I add a css to change the look of any part of my website?, remember the screenshot I took with the css examples and it failed, but if i do in the customizer, it works.
April 30, 2015 at 8:13 pm #262723Hi There,
The Body class field is a field to add only a class, not the whole CSS rules. Now, how do I use the class on the CSS rule? The class will be a part of your selector to target specifically the elements that you want to be affected by your CSS rule. For example on my “about page” I want all h2 headings on that page to have a pink color. What I do is add an myclass to that page. Then I’ll write an CSS rule using that class to style all h2 headings on my “about page”
.myclass h2 { color: pink; }
Now you place this code either on Customizer > Custom CSS or on child theme’s style.css file.
Hope this shed some lights. Cheers!
May 1, 2015 at 12:28 pm #263202Now it works and I got it…one final things is could you update me the rev. slider plugin please, or how do i update because I’m having some problems doing so.
May 1, 2015 at 8:04 pm #263445Hi there,
Have you tried deleting your old rev. slider plugin at Admin > PLugins and install it back at Admin > Addons > Extensions ? You should try, but make sure that you have backup of all of your slides.
Thanks.!
-
AuthorPosts