Tagged: x
-
AuthorPosts
-
July 20, 2016 at 2:18 pm #1095782
OnyParticipantOh. The more you know…
If I were to have my portfolio page to feature these in this order how would I do so? Would be beneficial to know for the future so I don’t have to bug the X support staff and can start playing around on my own :).
Order:
Custom Headline: ‘Book a Table’
Gap: ’25px’
Raw Content: AcuityScheduling code
Portfolio SectionThanks so much for the continually amazing support!
July 20, 2016 at 6:21 pm #1096070
OnyParticipantThis reply has been marked as private.July 20, 2016 at 8:07 pm #1096227
Rue NelModeratorHey Ony,
If you want to display a different order, simple update the code and have it look like this:
<?php // ============================================================================= // VIEWS/ETHOS/TEMPLATE-LAYOUT-PORTFOLIO.PHP // ----------------------------------------------------------------------------- // Portfolio page output for Ethos. // ============================================================================= ?> <?php get_header(); ?> <div class="x-container max width main"> <div class="offset cf"> <div class="<?php x_main_content_class(); ?>" role="main"> <?php x_portfolio_filters(); ?> <?php echo do_shortcode('[custom_headline level="h2" looks_like="h3" accent="false"]Book a Table[/custom_headline]'); ?> <?php echo do_shortcode('[gap size="25px"]'); ?> <?php echo do_shortcode('[x_raw_content]<iframe src="https://app.acuityscheduling.com/schedule.php?owner=12572942" width="100%" height="800" frameBorder="0"></iframe><script src="https://d3gxy7nm8y4yjr.cloudfront.net/js/embed.js" type="text/javascript"></script>[/x_raw_content]'); ?> <?php x_get_view( 'global', '_portfolio' ); ?> </div> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?>And I am not sure if I understand the second question. Could please clarify? Maybe you can send us some screenshots to illustrate what happen?
While logging in to your cpanel, I found out that you have renamed the
xtheme parent folder tozoo. This action would result to the following issue:
– you will have a difficulty in updating the theme.
– Cornerstone will ask you to validate because it will look for thexfolder and since it doesn’t exist, it can never be validated unless you revert back the name of the default parent folderHope this helps.
July 20, 2016 at 8:37 pm #1096245
OnyParticipantThanks so much!
I found a fix to the second issue already, but thank you :).
One last question, whats the code for a #fff 1px line? Would love to add that below book a table, and would love to have the Book a Table part centered.
And would also like to add a text box underneath it as well, centered. I assume I can use shortcodes inside the .php file?
Thank you guys so much for the continued support!
July 20, 2016 at 11:10 pm #1096449
FriechModeratorHi There,
You can use this shrotcode to output a line:
[x_line style="border-top-color: #fff;border-top-width: 1px;"]Yes, you can call a shortcode inside a .php file with the do_shortcode function.
e.g.
<?php echo do_shortcode( 'PUT YOUR SHORTCODE HERE' ); ?>Hope it helps, Cheers!
July 21, 2016 at 1:15 am #1096551
OnyParticipantWorks great! Thanks guys.
One last question here, how can I make the portfolio items marginless, so there is no whitespace in the background.
Best,
OnyJuly 21, 2016 at 1:16 am #1096552
OnyParticipantThis reply has been marked as private.July 21, 2016 at 1:23 am #1096556
FriechModeratorHi There,
You can add this under Custom > CSS in the Customizer.
.x-iso-container.cols-3>.hentry { padding: 0 !important; }Hope it helps, Cheers!
July 21, 2016 at 2:45 am #1096620
OnyParticipantThis reply has been marked as private.July 21, 2016 at 3:15 am #1096653
Rue NelModeratorHey Ony,
Thanks for updating this thread! You need to edit each of the portfolio item and find the Portfolio Item Settings. This is where you can assign the parent portfolio page for this portfolio item. This will be used in various places throughout the theme such as your breadcrumbs. If “Default” is selected then the first page with the “Layout – Portfolio” template assigned to it will be used.
Please see this screenshot: http://prntscr.com/bvl1e9
This will only work if you have created a Portfolio Page. If you haven’t created yet, you must create the page so that you can assign it as the parent portfolio page.
Hope this make sense.
July 21, 2016 at 3:46 am #1096693
OnyParticipantHey Rue,
I actually had to duplicate and rename the blank no container footer and header php files to the template-layout-portfolio file then by selecting template-layout portfolio I was able to set up the proper link for those little buttons. (It was linking to the wrong Events page initially, and in your screenshot.)
Thanks however, as your help made me think of an alternate way to do so and it worked :).
Cheers!,
OnyJuly 21, 2016 at 4:33 am #1096748
Rue NelModeratorYou’re always welcome! We are just glad we were able to help you out.
If you need anything else we can help you with, don’t hesitate to open another thread. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1092357 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
