LebCit
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Blog Text BlackHello @jklarich,
Take a look at Personalizing colors and font. It’s the section number 5.
If this is not what you want, please be more specific.
Give a line that you want to change the color.SYA ๐
Forum: Themes and Templates
In reply to: theme change??Hi again,
MAKE A COPY of your custom css !
Because it’s related to your actual theme.
So, to prevent loosing your CSS when reverting to your theme, a copy is a must !SYA ๐
Forum: Themes and Templates
In reply to: theme change??Hello @nparsons75
If you did not make any CODE (HTML/CSS/PHP) changes everything should be ok.
SYA ๐
- This reply was modified 9 years, 6 months ago by LebCit.
Forum: Themes and Templates
In reply to: [Chosen] featured image sizeHello @bougidruche
First in your functions.php file you should have add_theme_support( ‘post-thumbnails’ );
To change the size off image(s), you have to use/change in your functions.php file after the above codeadd_image_size( 'yourThemeName-featured-image', widthYouWant, heightyouWant, cropMode );Please take a look at add_image_size function to understand how to do it.
After that, you’ll have to regenerate your thumbnails, use Force Regenerate Thumbnails plugin for that.
SYA ๐
Forum: Themes and Templates
In reply to: [Fashionistas] Featured Images not filling column widthHello @luke_littleboy
Did you change add_image_size in your functions.php file ?
If not, install Force Regenerate Thumbnails plugin, run it and tell me if your issue is solved or not.SYA ๐
Hello @chairsmodo
You are most welcome !
1- For child theme, I’ll recommand you to use Child Theme Wizard for simplicity purpose…
Note that you’ll be able to remove this plugin, if you wish, after creating your child theme.
2- For Custom CSS, you can take a look at the Custom CSS plugins if you don’t want to use Jetpack…Don’t hesitate if you have further questions
SYA ๐
Hello,
.home_blog { background-color : yourColor; }SYA ๐
Forum: Themes and Templates
In reply to: Theme Customization API now showingHello,
You are most welcome
Did you notice my first questionDid you add your action(s)?
See the (s) ๐
I thought that you did it for the style (my fault)
Again, you are most welcome !
Happy codding !SYA ๐
Forum: Themes and Templates
In reply to: Theme Customization API now showingHello,
Great! the add_action can be placed before or after the function, so you’ve done well.
For the css try this
function tonya_css_customizer() { $background_color = get_theme_mod( 'background_color' ); if ( $background_color != '#fff' ) : ?> <style type="text/css"> body { background-color: <?php echo $background_color; ?>; } </style> <?php endif; } add_action( 'wp_head', 'tonya_css_customizer' );Tell me if i can help you further.
SYA ๐
- This reply was modified 9 years, 6 months ago by LebCit.
Forum: Themes and Templates
In reply to: [Sela] Older Posts Button is not working!Hi, kifek, รงa va ? ๐
I’ve took a look at the Sela theme, everything is in place .
You can take a look at template-tags.php the next_posts_link and previous_posts_link are there in sela_content_nav function
The function is used by the main archive.php – index.php – search.php files.
So, it should work out of the box.
Did you make any changes ? Added some plugins ?SYA ๐
Hello,
Since I don’t know the php config of your theme for this widgets area and can’t have access to your files, i’ll remove them with CSS
#sidebar { display: none; }If it dosen’t work try
#sidebar { display: none !important; }I encourage you to use a child theme for your customization or Jetpack Custom CSS
SYA ๐
- This reply was modified 9 years, 6 months ago by LebCit.
Forum: Themes and Templates
In reply to: Theme Customization API now showingHello,
Did you add your action(s)?
add_action('customize_register','tonya_customizer_register');Tell me and i’ll get back to you.
SYA ๐
Forum: Themes and Templates
In reply to: How to center Text Widget?Hello,
Looks centered to me.
You can style them by adding your custon style for#gk-footer .widget-title { */Your Custom Style/* }SYA ๐
Forum: Themes and Templates
In reply to: Menu implementationHello again,
First of all, it’s not allowed to hire, pay, or ask for a job here.
Offering to Pay
If you really want to hire me or another developer to get the job done,
you can do it on WP Jobs.All that said, I’m going to help you get the menu to work, nothing more.
You’ll have to style it as you feel and need, debug according to your theme if any bug/conflict…1- Download FullscreenOverlayStyles, I named it fos.zip, extract it and place the fos folder at the root of your theme (at the same level as your main style.css file).
2- In your function.php file, place this code
function fos_scripts() { wp_enqueue_style( 'fos-norm-style', get_template_directory_uri() . '/fos/css/normalize.css', array(), '' ); wp_enqueue_style( 'fos-style1-style', get_template_directory_uri() . '/fos/css/style1.css', array(), '' ); wp_enqueue_script( 'fos-classie-js', get_template_directory_uri() . '/fos/js/classie.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'fos-demo1-js', get_template_directory_uri() . '/fos/js/demo1.js', array( 'jquery' ), '', true ); wp_enqueue_script( 'fos-modern-js', get_template_directory_uri() . '/fos/js/modernizr.custom.js', array( 'jquery' ), '', false ); } add_action( 'wp_enqueue_scripts', 'fos_scripts' );3- Since your using _s, go to header.php
line 43 remove class=”main-navigation”
line 45 replace the whole line by
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu', 'container' => '' ) ); ?>4- You should wrap the <nav> with a <div class=”overlay overlay-hugeinc”> and add just before the <nav> the cross button to close the menu, your code should look something like
<div class="overlay overlay-hugeinc"> <button type="button" class="overlay-close">Close</button> <nav id="site-navigation" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu', 'container' => '' ) ); ?> </nav>5- Finally, you’ll have to put the trigger button at the place of your choice
<p><button id="trigger-overlay" type="button">Open Overlay</button></p>Now, happy coding and styling.
SYA ๐
Forum: Themes and Templates
In reply to: [Sela] Changing Color of Page Links and Drop-down MenusYou are most welcome ๐