akadis2
Forum Replies Created
-
UPDATE: The Divi support team suggested a small change to the code and the mobile view now looks very nice. It doesn’t look like the desktop view, but I like the result.
Replaced this code:
.fdm-item-image {
width: 30%;
float: none;
}with this:
.fdm-item-image {
float: none;
}Thanks for your prompt reply. I had removed the code but applied it again. I made the suggested modification, but there is still a breakpoint in mobile view after the image.
This is the code I added:
@media screen and (max-width: 992px){
.fdm-menu .fdm-columns-2 .fdm-column {
width: 47%;
float: left;
}
.fdm-item-image {
width: 30%;
float: none;
}
.fdm-menu .fdm-columns-2 .fdm-column-last {
float: right;
margin: 0 0 0 3%;
}
}.fdm-item-price-wrapper .fdm-item-price {
display: inline-block;
margin-left: 0.5em;
}
.fdm-item-price-wrapper {
max-width: 30%;
}Forum: Plugins
In reply to: [Custom Content Type Manager] Issue with Brackets once againIt worked!! You’re awesome!!! Thanks for your help.
Forum: Plugins
In reply to: [Custom Content Type Manager] Display medium size ThumbnailI changed the size of my thumbnail images in WP to be 100px by 100px
Then I used this code as part of my template:
<?php print wp_get_attachment_image($r[‘thumb’], thumbnail); ?>
Forum: Plugins
In reply to: [Custom Content Type Manager] Display medium size ThumbnailI figured it out. Thanks.
Forum: Plugins
In reply to: [Custom Content Type Manager] Summarize Posts shortcode – coding issueThanks so much for your help.
With some study and time I hope to solve this issue.
Forum: Plugins
In reply to: [Custom Content Type Manager] Summarize Posts shortcode – coding issueThanks again… I’ve created my new template file page-myview.php and added the php code. Of course nothing happens, since I don’t know what to put after this:
$results = $Q->get_posts($args);
foreach ($results as $r) {// I TRIED ADDING “print $post[‘post_title’];”
}
?>The summarize-posts shortcode was so easy compared to this php coding 🙁
Forum: Plugins
In reply to: [Custom Content Type Manager] Summarize Posts shortcode – coding issueThanks for your super prompt reply. Yes, a comparison would work nicely.
My main question now, is where do I add this php code? The way I am using cctm is to add “resources” to the DB, then I created posts that I called “views” to display the resources based on the values stored for each custom field. Then using a widget, I created a menu of all those “views”
For example, this is one of the “views”
http://civilrightsteaching.org/books-fiction/ANd on the right side, you can see the menu of all resources.