Forum Replies Created
-
Author
-
burbanskiParticipant
Radu,
Your CSS direction was exactly what I needed. It works perfectly!
COPY CODE.single-directory-listing #main-container.container { max-width: none !important; padding: 0px !important; margin: 0px !important; }
Thank you!
burbanskiParticipantHi Radu,
I’m currently working locally. Can you connect with screen share? Or can you suggest a simple option for posting my dev site online?
Thanks,
BrentburbanskiParticipantHi Radu,
Unfortunately, this did not work. I replaced ‘my-post-type’ with my cpt slug name. I also tried if( is_single() ) to see if this would work on regular posts, but it had no effect either. Also cleared cache.
For testing I have set a Visual Composer rows to colorize the background full width(elements needing to go full browser width noted with red arrows):
Inner Container: No
Section style: Main styleBackground
style: ColorAny ideas as to why this function isn’t working?
Attachments:
You must be logged in to view attached files.burbanskiParticipantHi Radu,
My custom posts are created by users on the frontend so they are not able to select this layout option, per post, on the back end.
How can I set my CPT to always show full browser width, without having to select this option on the backend post edit page?
Thanks,
BrentburbanskiParticipantAlso, I just found this link.
https://vc.wpbakery.com/video-academy/full-width-row/
I have the most up-to-date version of VC, but I do not have “row width” or “row stretch” options in my editor. Is it possible that Kleo theme is restricting these options for single posts?
burbanskiParticipantHello again, Laura.
Yes, I’m still working local.
Can you provide the css needed to make this possible? I’m guessing it goes into my child theme’s style.css file?
Thanks,
BrentburbanskiParticipantLaura,
You were correct. It was a Chrome browser caching issue.
Thank you!
Brent
burbanskiParticipantHi Laura,
I was able to remove the titles by adding this css to the the “Quick css” field under Kleo’s General Settings, but cannot get any css to work when added to the Kleo child theme style.css file. Do you have any idea why this isn’t working? Maybe the style.css file is supposed to be in a subdirectory or something? Right now it’s sitting loose in the “kleo-child” directory along side functions.php(which is working properly).
-
AuthorPosts