Forum Replies Created
-
AuthorReplies
-
davidcpa135
ParticipantFigured it out-had an autoinserted shortcode that messed with the alignment. Once removed, it’s fine.
davidcpa135
ParticipantI like the effect and it works to wrap it in the [raw] tag. In my case (using the example code above) the second and third panels are lower than the first creating a left to right downward effect. Is there a way to create this with the panels going straight across?
davidcpa135
ParticipantFound it! Thanks for the direction in which to look.
davidcpa135
ParticipantApologies for being slow but starting to get there. Based on the top-down idea that you mentioned I changed the first (top) occurrence as follows:
.standard-slider-wrapper .hide-full_nav .slides-wrapper, .tb-nivo-slider-wrapper .hide-full_nav .slides-wrapper { padding: 12; border: 0px; }
This worked well in getting rid of the border but two events caused me to fumble with it for a couple of hours
1- I’ve always read that CSS applied in descending order so had assumed that the flow would be from the bottom up rather than the reverse.
2-In my first attempt, by unchecking the subsquent border box (in the inspector) it killed the border on screen and thus seemed to be the fix.In any case, I really appreciate the help. I’ll try to figure out why the #2 works as it does.
davidcpa135
ParticipantAfter searching for a while, found and loaded this into the child theme style.css
Note: The parent theme does not include any CSS in style.css, and so you don't need to @import it here. */ /* Add your custom CSS here. */ .slides-wrapper, .tb-nivo-slider-wrapper .slides-wrapper { background-color: #fff; border: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; padding: 20px; }
seems this would cover all wrapper but it produces on change.
davidcpa135
ParticipantSure thing (this is a nonpublished development link and still very rough draft).
davidcpa135
ParticipantWorked great -Thanks
November 3, 2014 at 4:47 pm in reply to: Slider Update – Image alignment issues – v1.2.2 (fixed with v1.2.3) #19148davidcpa135
ParticipantUpdated the above to 1.2.2 this AM
Using 3.1.4 w Framework 2.4.4After update video slides lost their left or right alignment. Video shows directly beneath the text instead of left or righ aligned with truncated image.
Any suggestions appreciated.
davidcpa135
ParticipantFair point. LInk follows below. What I found when testing it on the live site was that it worked fine (the fold of the ribbon is cutoff but that might be the amount of padding or the box layout) so maybe there’s some setup problem in Xampp that’s beyond me.
Nonetheless, the opens great design possibilities. As far as CSS goes, once your’re using a child theme should all custom css code by moved from the theme options style tab to the child’s style sheet?
davidcpa135
ParticipantJason,
I may not have been clear enough on the post. Child theme is up and running fine for some time. My goal is add some code (reproduced below) to the functions.php file. Logically, it should be put into the functions file in the child theme. So far so good.Question is –if I have the child theme modificed successfully on the localhost. Can I just ftp the modified functions.php up to the server letting it replace the old version. Anything to look out for?
Thanks again for the help.
If needed here’s the code I’m adding
<?php /* Plugin Name: Link PDF Attachment Plugin URI: http://premium.wpmudev.org Description: Adds a link to the top of a WordPress post to the first PDF attachment Author: Chris Knowles Version: 1.0 Author URI: http://twitter.com/ChrisKnowles */ function pdf_add_link( $content ) { global $post; if ( !is_single() ) return $content; $args = array( 'numberposts' => 1, 'order' => 'ASC', 'post_mime_type' => 'application/pdf', 'post_parent' => $post->ID, 'post_status' => null, 'post_type' => 'attachment', ); $attachments = get_children( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { $content = '<div class="pdf_download"><a href="' . wp_get_attachment_url( $attachment->ID ) . '" target="_blank" >Download extra client information as PDF</a></div>' . $content; } } return $content; } add_filter( 'the_content' , 'pdf_add_link' ); } ?>
davidcpa135
ParticipantYes-thanks.
davidcpa135
ParticipantSure thing (see bottom of page)
davidcpa135
ParticipantI find the the plugin Google Doc embedder works well for this purpose. There are options for download buttons etc. Here’s the description from the plugin page
Google Doc Embedder lets you embed several types of files into your WordPress pages using the Google Docs Viewer – allowing inline viewing (and optional downloading) of the following file types, with no Flash or PDF browser plug-ins required:
Adobe Acrobat (PDF)
Microsoft Word (DOC/DOCX*)
Microsoft PowerPoint (PPT/PPTX*)
Microsoft Excel (XLS/XLSX*)
TIFF Images (TIF, TIFF)
Apple Pages (PAGES)
Adobe Illustrator (AI)
Adobe Photoshop (PSD)
Autodesk AutoCad (DXF)
Scalable Vector Graphics (SVG)
PostScript (EPS/PS)
OpenType/TrueType Fonts (OTF, TTF)
XML Paper Specification (XPS)
Archive Files (ZIP/RAR)davidcpa135
ParticipantGot rid of the
I-Frame
and it works like a champ.
Thanksdavidcpa135
ParticipantThanks Jason,
In case it would help anyone else, I finally located the root of the problem. If you are not logged into your youtube account and simply past the url, then the oEmbed performs as expected (does not keeping playing your other videos). -
AuthorReplies