Tagged: x
-
AuthorPosts
-
December 8, 2016 at 10:09 am #1286202
t.rostParticipantHi team,
I am trying to change a bit of the layout of portfolio item page:
– How can I hide the entry-title (“Objekt 1”)?
– How can I erase the space between page header an first item (slider)?
– How can I spread the text below the slider over the whole width in one column instad of the two-column-layout?Thanks for your help
ThomasDecember 8, 2016 at 10:09 am #1286204
t.rostParticipantThis reply has been marked as private.December 8, 2016 at 10:22 am #1286223
Nabeel AModeratorHi there,
Thanks for writing in!
1. To hide the title, add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.single-x-portfolio header.entry-header { display: none !important; }2. To remove the space between page header and slider, add this code:
.single-x-portfolio #x-section-1 { margin: 0 !important; padding: 0 !important; } .single-x-portfolio .entry-content { margin-top: 0 !important; }3. To make the text full width, use this code:
.single-x-portfolio .x-portfolio .entry-info { float: none !important; width: 100% !important; }Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
December 8, 2016 at 10:36 am #1286243
t.rostParticipantHi,
thanks for your quick answer, I inserted the code in Custom > … but nothing happens, seems that still the main theme has it’s hand on it.December 8, 2016 at 11:07 am #1286282
RupokMemberHi there,
The code looks fine but I can’t see the code on your site. So not sure if you added this properly or if there any other code that’s preventing this. It would be great if you share your login credentials so that we can check the code on your site.
Cheers!
December 8, 2016 at 11:19 am #1286300
t.rostParticipantThis reply has been marked as private.December 8, 2016 at 11:36 am #1286319
RupokMemberHi there,
As I suspected, there is an error on your previous code which is not properly closed and preventing all the CSS below that – http://prntscr.com/dgz35f
I have fixed that and everything should be fine now. Let us know if you still have any issue.
Thanks!
December 8, 2016 at 11:49 am #1286332
t.rostParticipantThank you, looks fine!
December 8, 2016 at 12:15 pm #1286385
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1286202 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
