Support Forums for LiveMesh Themes & Plugins › Forums › Appdev Theme Support › PORTFOLIO SNIPPETS ON Single Page
Tagged: grid, post snippets, shortcodes
- This topic has 10 replies, 3 voices, and was last updated 11 years, 1 month ago by tripleogfox.
-
AuthorPosts
-
December 11, 2013 at 4:18 pm #3329tripleogfoxMember
Hi Support,
Very similar enquiry discussed on Previous Discussion “https://www.livemeshthemes.com/support/forums/topic/portfolio-snippets-on-home-page-1/” regarding the layout of the portfolio snippets on Single Page. Is there any way of fitting 5 or 6 columns (5 or 6 snippets) neatly in 1 row and have the ‘snippets’ size themselves to suit?
I used this shortcode “[show_post_snippets post_type=”portfolio” number_of_columns=5 post_count=10 image_size=”small” show_meta=false layout_class=”post-snippets full-width-snippets” display_text=false]” and the images are only showing 3 in a row and slightly aligned to the left on single home page.
December 12, 2013 at 1:46 am #3337tripleogfoxMemberI’ve also tried “reply#781” posted by livemesh support team and still won’t work on AppDev theme.
December 12, 2013 at 10:57 am #3347RaghavendraModeratorAs explained in the post –
https://www.livemeshthemes.com/support/forums/topic/portfolio-snippets-on-home-page-1/
currently by default we support 2,3 and 4 column grids. If you need 5, you will need to modify the theme exactly like the solution posted in the post linked. See sub-post below.
https://www.livemeshthemes.com/support/forums/topic/portfolio-snippets-on-home-page-1/#post-781
Are you saying, you have given it a try and it does not work?
December 12, 2013 at 11:00 am #3348RaghavendraModeratorBTW, if you have the child theme loaded, you can just copy over the changed mo_get_column_style() function in
https://www.livemeshthemes.com/support/forums/topic/portfolio-snippets-on-home-page-1/#post-781
to the functions.php of the child theme and then insert the custom CSS there into the style.css file of the child theme.
December 12, 2013 at 11:06 am #3349tripleogfoxMemberI have 6 page sections in one single page.
What I was trying to do is make page section’s width wider. So I used this custom css “body.fluid-width-page .segment-content {
padding-left: 20px;
padding-right: 10px;
max-width: 1620px;
margin: 0 auto;
}”Now, everything is good and got wider page section, but I just wanted to ask you if there are other shortcode that I can use to Only change 1 page section width? instead of that shortcode made change all 6 page section width wider. Maybe add page id? if so, can you please tell me how I do that?
December 13, 2013 at 1:55 pm #3368RaghavendraModeratorYou can just target a single page section by wrapping the whole content within a div with a certain id. By default a page section is full width which means unless you wrap something within a [segment] shortcode, the content occupies the entire browser width. So, instead of starting the page content with [segment] shortcode, you can start with a regular div and then have custom CSS like what you posted above which targets only that div like this
#my-custom-wide-div { padding-left: 20px; padding-right: 10px; max-width: 1620px; margin: 0 auto; }
while you leave the .segment-content styling undisturbed.
There is one other alternative too which may be easier. Just use a [segment id=”my-wide-segment”] to wrap the content and then set the custom css to be –
#my-wide-segment .segment-content { max-width: 1620px; /* Override the default max-width of 1140px */ }
December 15, 2013 at 5:32 pm #3406tripleogfoxMemberJUst one more to ask you…
I used this shortcode “<div class=”my-custom-div”>
my full wide contents</div>”
without adding any of your custom shorcode that was provided by you and it worked with full wide page just like I wanted. But somehow I can’t controll this little gap between the page.
It’s single page site and I really want to get rid of the gap between the pages when I scroll it down. Can you check the attached file and help to remove the gap line?December 16, 2013 at 1:20 pm #3412NexusModeratorPls reply as a private message here with the site URL and I can take a look. Thanks!
December 16, 2013 at 1:22 pm #3414tripleogfoxMemberThis reply has been marked as private.December 18, 2013 at 1:44 am #3434NexusModeratorIt is asking me login credentials. Please provide one. Thanks!
December 18, 2013 at 1:50 am #3436tripleogfoxMemberThis reply has been marked as private. -
AuthorPosts
- The forum ‘Appdev Theme Support’ is closed to new topics and replies.