Digital experiences for all disciplines
Forum Replies Created
-
-
can you still help me on this very important issue?
That’s what I miss for my successful site;)
Thank you but if I paste this code in function.php, WordPress admin no longer displayed (white screen)
September 30, 2014 at 2:44 pm in reply to: How not to display a thumbnail of the articles only on the home page #115955GREAT !! Thanks Kyle
No, no, I did not delete any files in the theme. editor-style.css is ok
What is the code to add styles in function.php?
OK to use your solution.
I deleted everything (plugin, code in function.php) and the edito-style.css file is in the “css” folder
I do not see new styles in the toolbar
It does not work. Along all parameters (screenshot)
Thank you very much for your patience !!Attachments:
You must be logged in to view attached files.Sorry but it does not work properly 🙁
September 30, 2014 at 9:45 am in reply to: Date items : How to change the css for (filets and padding)? #115805Thank you Kyle,
it works but there is a little gray above the upper thread
How to remove it?
Attachments:
You must be logged in to view attached files.September 29, 2014 at 10:48 pm in reply to: Date items : How to change the css for (filets and padding)? #115677I already use .post-item-details
.wpb_recent_posts_widget .recent-post .post-item-details, .wpb_posts_carousel_widget .recent-post .post-item-details { padding-top: 4px; padding-bottom: 4px; border-top-style: solid; margin-top: 6px; }
And it works only for homepage (homepage is ok : http://cluster007.ovh.net/~montourckh/)
Thanks !!
This code does not work because we can not have access to the admin.
I found another code on : http://www.wpexplorer.com/wordpress-tinymce-tweaks/
// Add new styles to the TinyMCE "formats" menu dropdown if ( ! function_exists( 'wpex_styles_dropdown' ) ) { function wpex_styles_dropdown( $settings ) { // Create array of new styles $new_styles = array( array( 'title' => __( 'Custom Styles', 'wpex' ), 'items' => array( array( 'title' => __('Theme Button','wpex'), 'selector' => 'a', 'classes' => 'theme-button' ), array( 'title' => __('Highlight','wpex'), 'inline' => 'span', 'classes' => 'text-highlight', ), ), ), ); // Merge old & new styles $settings['style_formats_merge'] = true; // Add new styles $settings['style_formats'] = json_encode( $new_styles ); // Return New Settings return $settings; } } add_filter( 'tiny_mce_before_init', 'wpex_styles_dropdown' );
The custom style menu appears fine but I do not know where it should define css style so that they appear in the style submenu.
Attachments:
You must be logged in to view attached files.September 28, 2014 at 11:58 pm in reply to: Date items : How to change the css for (filets and padding)? #115237Thanks but it does not work.
it concerns only the date field.
On the home page, it’s perfect. How to get the same style for the “Actualités” page : page.http://cluster007.ovh.net/~montourckh/nos-actualites
September 25, 2014 at 11:07 pm in reply to: Date items : How to change the css for (filets and padding)? #114679It’work for the home but not for the blog page : http://cluster007.ovh.net/~montourckh/nos-actualites
ThanksAttachments:
You must be logged in to view attached files.September 25, 2014 at 3:09 pm in reply to: How to reduce the space between the navigation and photo? #114557Yes 😉 Thanks Mohammad
September 25, 2014 at 12:59 pm in reply to: How to reduce the space between the navigation and photo? #114472 -