Tagged: x
-
AuthorPosts
-
June 14, 2016 at 12:24 am #1040789
bedingfieldParticipantHi there,
I know I can adjust the content width for site-wide adjustment, but I would like to set a specific content width for one page. Could you tell me what CSS I would need to adjust to achieve this please? Say set at 50% wide.
Thank you
June 14, 2016 at 12:49 am #1040815
Prasant RaiModeratorHello There,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Thanks.
June 14, 2016 at 1:14 am #1040844
bedingfieldParticipantelyrunners.club
June 14, 2016 at 6:48 am #1041212
Paul RModeratorHi,
Thank you for providing your site url.
You can add this under Custom > Edit Global CSS in the Customizer.
.page-id-22 .x-container.width { width: 50%; }Change 22 with your page id.
https://community.theme.co/kb/how-to-locate-post-ids/
Hope that helps.
June 17, 2016 at 1:16 am #1046560
bedingfieldParticipantI am still having problems getting content copy at 50% centred, just for blog posts.
http://elyrunners.club/2014/01/21/ely-runners-first-beginners-group-final-report/
I just want the above blog posts copy to be 50% wide and centered. So essentially, from blog heading to bottom of the comments form.
Any suggestions? I’m sure it can’t be that difficult, but I just can’t fathom it out.
Thank you.
June 17, 2016 at 1:50 am #1046593
RupokMemberHi there,
Thanks for writing back. Kindly update the code a bit :
.single-post .blog-width { margin: 0 auto; width: 50%; }It will be applied to all single posts.
Cheers!
June 17, 2016 at 1:07 pm #1047346
bedingfieldParticipantThats perfect. Thank you.
Just another question…
I would like to have a different size/style to my first paragraph of blog posts (single page). I have used below…
.entry-content p:first-child { font-family:"Times New Roman", Georgia,Serif; color:fff; line-height:125%; font-size:170%; }problem is, this goes site-wide. I just want this to work on individual blog posts. Can this be done?
Also, I don’t appear to be able to turn off ‘page title’ for ‘blog’ and blog’ single posts. On my ‘blog’ page I have checked ‘disable page title’ but it still displays. How do I disable?
Thank you.
June 17, 2016 at 3:14 pm #1047487
JoaoModerator.single .single-post .entry-content p:first-child { font-family:"Times New Roman", Georgia,Serif; color:fff; line-height:125%; font-size:170%; }You can also try to complement with this to see how you like it:
.single .single-post .x-header-landmark { display none; }Hope that helps,
Joao
June 17, 2016 at 3:59 pm #1047535
bedingfieldParticipantHmmm… neither of those seem to be working
June 17, 2016 at 9:27 pm #1047907
RadModeratorHi there,
It could due to caches, I checked the source code and the provided CSS aren’t added. Please check.
Thanks!
June 18, 2016 at 2:22 am #1048188
bedingfieldParticipantI have implemented both and cleared the cache, but when I use the code for ‘child’, it takes that styling away.
Also, page title formatting still there. Is there a function to turn off page titles for blog index and single blog posts?
Thank you.
June 18, 2016 at 2:29 am #1048200
ChristopherModeratorHi there,
Please update it to :
.single-post .entry-content p:first-child { font-family:"Times New Roman", Georgia,Serif; color:fff; line-height:125%; font-size:170%; } .single-post .x-header-landmark { display none; }Hope it helps.
June 18, 2016 at 2:51 am #1048222
bedingfieldParticipantJust realised there was a typo in your code. No ‘:’
I’ll try again 🙂
June 18, 2016 at 3:02 am #1048230
Rue NelModeratorIf you need anything else, please let us know.
June 18, 2016 at 3:02 am #1048231
bedingfieldParticipantOK, it works, thank you. Now, just a final question. Now that I have hidden the page title, I would like to create, say 50px of white space in its place. Can I do that?
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1040789 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
