Michelle Langston
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Writr] Menu not working on iPhoneI’ve made a change to Writr that should fix the issue. This change is on the WordPress.com version of the theme. Until the changes are reflected in the www.ads-software.com version, can you apply the following fix to your theme, and then check it on your phone to see if the menu displays properly? Thanks!
Add this code to style.css:
/* Adjustments for the menu display on smaller devices like the iPhone 4 */ @media only screen and (max-device-width: 480px) { .main-navigation, .main-navigation ul ul { width: 324px; } }
Forum: Themes and Templates
In reply to: [Coraline] change default withHi Lauren,
The best way to change the content width would be to first create a child theme for Coraline (that way, your changes won’t affect the Coraline theme itself). Then, in the child theme’s “style.css” file, you can adjust the content width with CSS.
You’ll also want to create a “functions.php” for your child theme and adjust the $content_width variable to reflect the new width, so that any new attachments you upload in the future will be sized properly.
For example, the default content width is 500px (as you can see at the top of Coraline’s functions.php).
There’s technically no maximum width, it depends on your preferences. For best readability, however, you may not want to make your content too wide.
I hope this helps, let us know if you have further questions.
Forum: Themes and Templates
In reply to: [Duster] Duster theme: translation just won't show…Hi there, are you by chance using the Jetpack comment form? If so, please see this thread for more information: https://www.ads-software.com/support/topic/comment-form-missing-translation?replies=4#post-3752635
Forum: Themes and Templates
In reply to: [Forever] space between content bottom and footerUnfortunately I can’t view your “Edit” link to see how it appears on your site. Could you try putting a top margin on your edit link to move it down out of the header?
Forum: Themes and Templates
In reply to: [Superhero] Add Author to Superhero themeHi there,
Superhero does display the author, but only if there are multiple authors with published posts. You can undo this by removing this line from style.css:
.byline { display: none; }
Forum: Themes and Templates
In reply to: [Able] Incorporating Co-Authors Plus plugin into Able themeHi Mandy,
Based on the link you provided, here is my guess for how you could implement this in the Able theme. First, in inc/template-tags.php, find the following function:
function able_posted_on() { printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'able' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'able' ), get_the_author() ) ), esc_html( get_the_author() ) ); } endif;
In the code above, replace “get_the_author()” (third to last line above) with “coauthors_posts_links( null, null, null, null, false )”. So the new code would be:
function able_posted_on() { printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'able' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_attr( sprintf( __( 'View all posts by %s', 'able' ), get_the_author() ) ), coauthors_posts_links( null, null, null, null, false ) ); } endif;
Can you try that and see if it works? I have not tested this since I don’t have the plugin installed.
Forum: Themes and Templates
In reply to: [Writr] Sidebar from left to right?Hi there, we are glad you like the theme!
As for moving the sidebar to the right, I suggest having a look at the rtl.css file to get an idea of how it’s positioned (since the sidebar has been moved the right for RTL languages). You could copy the relevant styles from rtl.css into a child theme and tweak it further to suit your purposes.
I hope this helps!
Forum: Themes and Templates
In reply to: [Ryu] Child theme and template-tags.phpGlad you like the theme! ?? This thread appears to be resolved, so I’ll go ahead and mark it as such.
I can ask the developer of the Writr theme what his specific reasons were for using this, but generally, pseudo elements are useful because they give us an additional “canvas” space to work on without the need for extra mark-up.
Forum: Themes and Templates
In reply to: [Forever] Border surrounding WidgetsHi, are you referring to the white box around the widgets in the left hand side, or the grey box around the widget titles?
Forum: Themes and Templates
In reply to: [Forever] Contact PageYou can assign the full-width page template to the Contact page to remove the sidebar.
I’m not sure what you mean by centering the page. Do you want the contact form to appear in the center of the page?
Forum: Themes and Templates
In reply to: [Forever] Custom Social Media WidgetsThe easiest thing to do would be to: 1) upload them to your Media Library; 2) Get the URL of each uploaded icon from the Media Library; 3) Create a text widget in your sidebar and the add necessary HTML code with links to the icons you uploaded in step 1. Something like:
<a href="https://socialnetworkurl.com" title="Social Network Name"><img src="https://URL-OF-UPLOADED-ICON" alt="Social Network Name" /></a>
Forum: Themes and Templates
In reply to: [Forever] Lines surrounding menu barHi Heather,
Could you try:
#content div.sharedaddy div.sd-block { border-top: none; }
Also, make sure there are no other styles below this one that could be overriding it. Try putting it at the very bottom of your CSS file.
Forum: Themes and Templates
In reply to: [Forever] Continue ReadingYes, you can do this with a child theme.
In a nutshell, what you’d need to do is:
1. Loop through all posts and grab the latest one. Display the full content for this post (so you’d use “the_content()” in your loop).
2. Create a separate loop that skips over the latest post and grabs all remaining posts. For these, you would display excerpts using “the_excerpt()” in your loop).Forum: Themes and Templates
In reply to: [Forever] Theme: forever – custom header / footerYou could definitely do either of the above. Of the two, I would probably go with a child theme plus custom css. That way, if you wanted to make other template changes later on, you’d be able to do so with your child theme. ??