Tagged: x
-
AuthorPosts
-
February 18, 2017 at 11:45 am #1376372
MattHollParticipantHello.
I’m trying to edit my portfolio item so that it’s full screen.
I’ve already read a lot of answers to this question here on the forum with custom CSS and I tried that. But the width of the portfolio on the page is not changed. The images size up to fit the entire space of that portfolio, but the portfolio itself is limited to a thin band in the center of the page. I want the image gallery to spread over the entire page or at least a larger section of it instead of just being in this thin band in the center.
I am using the Band expanded demo and going from that starting point.
This is the CSS I used:
@media (min-width: 1024px){
.x-portfolio .entry-info {
width: 100%;
}
.x-portfolio .entry-extra {
width: 100%;
position: relative;
padding-top: 130px;
}
.x-portfolio .x-entry-share {
position: absolute;
top: 20px;
width: 100%;
}
}.single-x-portfolio .x-portfolio .entry-info,
.single-x-portfolio .x-portfolio .entry-extra {
float: none;
width: 100%;
}Thanks for any and all help.
-Matt
February 18, 2017 at 9:40 pm #1376713
RadModeratorHi there,
Thanks for writing in.
It’s because of this existing CSS,
.blog .entry-wrap, .single .entry-wrap { margin-left: auto; margin-right: auto; max-width: 600px; text-align: center; background-color: #dfd9c3; }It should be like this
.blog .entry-wrap { margin-left: auto; margin-right: auto; max-width: 600px; text-align: center; background-color: #dfd9c3; }Cheers!
February 19, 2017 at 2:13 am #1376840
MattHollParticipantHello. Thanks for the help.
When I load this CSS into the Customizer, it doesn’t change anything.
I tried loading it in Apprearance/editor into the X Theme. The X Theme style.css looks to be empty. I could not find the existing CSS you posted above in order to change it. Loading it into the editor also did nothing.
The portfolio is still only in that thin bar on the screen and not full screen.
If you can tell me where that existing CSS might be found, I’ll change it. I tried running grep -r “.blog .entry-wrap” . on the entire folder structure for the downloaded X theme and the entire folder structure for the downloaded WordPress install and cannot find that.
Thanks for any help.
February 19, 2017 at 4:45 am #1376946
ChristopherModeratorHi there,
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 private reply. This ensures your information is only visible to our staff.
Thanks.
February 19, 2017 at 5:08 am #1376955
MattHollParticipantThis reply has been marked as private.February 19, 2017 at 5:10 am #1376956
MattHollParticipantThis reply has been marked as private.February 19, 2017 at 5:55 am #1376991
ChristopherModeratorHi there,
The CSS code in under Customize -> Custom -> Edit global CSS, see the attachment.
Hope it helps.
February 19, 2017 at 6:06 am #1377003
MattHollParticipantAha! Great!
That did *some* enlargement. Is there a way to get it to fill the entire width of the screen, though?
I tried increasing that number from 600px to 900px and it stayed the same size. Is this maybe constrained by some setting for the Portfolio?
Here’s where it is:
http://www.hrvatskohomebrewprvenstvo.beer/portfolio-item/769/
Thanks!
February 19, 2017 at 6:34 am #1377029
ChristopherModeratorPlease add following code:
.single-x-portfolio .x-container.max.width.offset { max-width: 100%; width: 100%; } .single-x-portfolio div#comments { width: 80%; margin: 0 auto; } .single-x-portfolio .entry-wrap.cf { background-color: red; }Hope it helps.
February 19, 2017 at 6:49 am #1377040
MattHollParticipantThanks. That worked, but now it’s aligned on the left. Is there a center alignment setting? I see text-align: center; for instance. Something like that to place the gallery images into the center of the page?
Sorry such a pain. Thanks for the help.
February 19, 2017 at 1:49 pm #1377286
RadModeratorHi there,
Please add this as well
.single-x-portfolio .entry-info { float: none; margin: 0 auto; }Cheers!
February 19, 2017 at 1:55 pm #1377293
MattHollParticipantPerfect! That did the trick! Thanks!
February 19, 2017 at 9:31 pm #1377618
LelyModeratorYou’re always welcome Matt!
Cheers.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1376372 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
