Nik Smalin
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Ghost Lite] Paypal button in content area for all posts at onceWhat is the first “//” and the second “//”? I don’t understand
You can just paste your code anywhere you like without replacing anything,
if you wanna paste somewhere inside <?php ?> you have to use
echo '<p>example of your code</p>';
Regards!
Forum: Themes and Templates
In reply to: [Ghost Lite] Paypal button in content area for all posts at onceHi!
You can add anything to all posts at once by editing single.php file or content-single.php which is located in template-parts folder
If you need to add something to every post in list for example on category page, you can add this in file content.php which is also located in template-parts folder
I recommend you to copy needed file to your child theme folder, so you will not lose your changes after theme update
if you have some another post types and you need to add content only to posts, you can add this
if ( get_post_type() == 'post' ) { // add here any content you need // this will display only in posts }
Regards!
- This reply was modified 3 years, 10 months ago by Nik Smalin.
Forum: Reviews
In reply to: [Ghost Lite] Not Fully ResponsiveWhat mean “Images and text fields do not respond properly”? send some screenshot
I’ve checked many times logo cropping – it works fine, because it’s not theme functionality, it uses default wp core function, theme can not affect on it.
“skip cropping” button will appear depend on image size and proportions, some images can be cropped some ones notForum: Themes and Templates
In reply to: [Ghost Lite] Maximum Logo SizeHi.
you can press “not cropping button” when it offers you to crop image
for changing max height and max width add this to your custom css.header__inner__wrapper .custom-logo-link img { max-width: 146px; max-height: 80px; }
where 146 is max width value, 80 – max height
change it on what you needfor change default crop width and heigth add this to your functions.php
remove_theme_support( 'custom-logo' ); add_action('after_setup_theme', function() { add_theme_support('custom-logo', [ 'height' => 160,'width' => 292 ]); });
where 292 is width, 160 – height (change it on what you need)
Also, changing of “Read more button” in content.php file better doing in child theme, so you will not lost your changes after theme updating.
Regards!
- This reply was modified 4 years ago by Nik Smalin.
- This reply was modified 4 years ago by Nik Smalin.
Forum: Themes and Templates
In reply to: [Ghost Lite] Sidebar problems on android chromeHello!
probably that’s because this browser on your phone doesn’t calculate screen height correctly, I’ve tested it on different browsers on phones – everything worked fine, try to add this code to your custom css
@media only screen and (max-width: 1024px) { aside.sidebar { height: 100%; } }
please let me know if it helps or not
Good luck!
Forum: Themes and Templates
In reply to: [Ghost Lite] Comments BoxIt doesn’t have comment section on pages.
But if you want to add it you can open page.php file and add this line of code
<?php if ( comments_open() || get_comments_number() ) comments_template(); ?>
on line 27 after <?php endif; ?> and before </div><!– /.article__container –>Regards!
Forum: Themes and Templates
In reply to: [Ghost Lite] Comments BoxIt works perfectly with this theme, I’ve checked it many times
Are you sure you have enable comments properly in “Discussion Settings” of your WP ?
- This reply was modified 4 years, 3 months ago by Nik Smalin.
Forum: Themes and Templates
In reply to: [Ghost Lite] BreadcrumbsYou can add this to your custom css
.bredcrumbs__container { display: none; }
Regards!
Forum: Themes and Templates
In reply to: [Ghost Lite] Website showing TOO BIG on different browsersIt doesn’t have any support of Internet Explorer as well as any other modern theme, that is made with flexbox. Usually, it doesn’t matter because nobody uses IE already for many years.
Forum: Themes and Templates
In reply to: [Ghost Lite] Website showing TOO BIG on different browsersWhat do you mean showing too big?
I’ve tested it in different browsers it worked fine.
What browser displays it too big?Forum: Themes and Templates
In reply to: [Ghost Lite] Menu ColorsYou can use this:
.widget.widget_recent_entries li a { color: #ffc222; }
Regards!
Forum: Themes and Templates
In reply to: [Ghost Lite] Cant get “blog” off the headerHi,
you have to edit index.php, sixth line of code between h1 tag you can put whatever you want
Regards
Forum: Themes and Templates
In reply to: [Ghost Lite] Menu ColorsI don’t actually understand what do you call main title
“Blog” – is main title on blog page
Do you mean site logo ? If yes use this.header__inner__wrapper .logo a { color: #ffc222; }
If you need to change site description use this
.header__inner__wrapper .logo .site__description { color: #ffc222; }
Good luck!
- This reply was modified 4 years, 6 months ago by Nik Smalin.
Forum: Themes and Templates
In reply to: [Ghost Lite] Menu ColorsAdd this to your custom CSS
.title__breadcrumbs__container h1 { color: #ffc222; }
it will make your titles gold enough )
Regards!
Forum: Themes and Templates
In reply to: [Ghost Lite] Menu ColorsHi,
add this to your custom css
.header__inner__wrapper .menu-item a, .header__inner__wrapper .nav .menu > .menu-item.menu-item-has-children::after { color: #ffc222; }
Regards!