Tagged: x
-
AuthorPosts
-
June 1, 2016 at 10:39 am #1020211
Kerri SParticipantHow can I add padding to all non-cornerstone “Posts” and “Pages”. I want this to be by default and not a page by page addition.
You can see an example here:
http://economicprogressri.org/index.php/temporary-caregiver-insurance-program-tci/Also, ConvertPlug is appearing behind the side nav.
Thank you
June 1, 2016 at 12:14 pm #1020432
JoaoModeratorHi There,
Please add the following code to your Appereance / Customizer / Custom / CSS
entry-title { padding-top: 3% ; }Hope that helps
June 1, 2016 at 12:45 pm #1020486
Kerri SParticipantThanks, but that didn’t seem to have any effect. I cleared cache and refreshed.
I also added padding for left and right. Neither way workedentry-title {
padding-top: 3% ;
padding-left: 3%;
padding-right: 3%;
}I used pf content but that affected my cornerstone elements that are 100% width (example: http://economicprogressri.org/index.php/newsroom-2/ )
.pf-content {
padding-left: 5%;
padding-right: 5%;
}June 1, 2016 at 12:47 pm #1020492
Kerri SParticipantThis reply has been marked as private.June 1, 2016 at 3:17 pm #1020757
JoaoModeratorHi Kerri
Find this code on your Appereance / Customizer / Custom / CSS
.entry-wrap > .x-container.max { width: 100%; max-width: 100%; }And remove or adjust it according to your taste.
You have it two times on your customizer actually but the one position below that is this one will have priority over the one above.
Hope that helps,
Let us know if you need help with any other issue.
Thanks,
Joao
June 1, 2016 at 3:31 pm #1020781
Kerri SParticipantThat doesn’t help me. I have content bands that need to be at 100%. If I do what you have suggested my content bands don’t stretch to 100% as needed.
I just don’t want the copy that is within the pages and posts that are NOT formatted in cornerstone to have padding.
There must be a way to solve this without converting all posts and pages to cornerstone.
Please help 🙂
June 1, 2016 at 10:40 pm #1021414
LelyModeratorHello Kerri,
We have to filter the CSS by page id or post ID.
For example, for this page: http://economicprogressri.org/index.php/temporary-caregiver-insurance-program-tci/ the following CSS will work:.page-id-1529 .entry-content.content { padding-left: 5%; padding-right: 5%; }This .page-id-1529 will filter the CSS to work on this specific page only.
To add padding to other pages, you may update above to this:.page-id-1529 .entry-content.content, .page-id-1530 .entry-content.content { padding-left: 5%; padding-right: 5%; }Then change 1530 from .page-id-1530 to your specific page ID.
Hope this helps.
June 3, 2016 at 9:01 am #1024214
Kerri SParticipantNo, that doesn’t help. I can’t asked them to create custom CSS whenever they create a post.
Is the only way to make this work to use Cornerstone on EVERYTHING?
I don’t meant to sound snarky but this seems like it should be a solvable problem without using custom CSS for each new page or post.
June 3, 2016 at 4:54 pm #1024804
FriechModeratorHi There,
In this case, please remove this custom CSS on Customizer like Joao said above.
.entry-wrap > .x-container.max { width: 100%; max-width: 100%; }And let us know which of those containers that you need to be full width. Actually on cornerstone you have the option make the containers (ROW) to be full-width or not, but since this pages are built in classic editor we really need to apply a custom CSS.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1020211 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
