Nik Smalin
Forum Replies Created
-
Hello, that’s because your logo is too long
try add this to your custom css.header__inner__wrapper .logo a { font-size: 14px; }
and not all information fit into top header
try to turn off location or email on mobile there is an option in customizer for that- This reply was modified 4 years, 10 months ago by Nik Smalin.
Forum: Themes and Templates
In reply to: [Ghost Lite] Images not displayingHi, Matt
in this theme all features images are displayed in default way with
the_post_thumbnail()
function and it can’t effect on way images being added into a database in any wayunfortunately I can’t tell you what the problem is, but probably the matter is in ifttt.org service or plugin that loads content
Regards
Forum: Themes and Templates
In reply to: [Ghost Lite] Some bugs&problems1. шаблон страницы без сайдбара сделал – будет в следующем обновлении
2,3,4. открыл твой сайт в эмуляторе и на реальном мобильнике – все норм отображается с твоей цветовой схемой #ff5400 и ширина нормальная, не шире экрана, кнопка открытия сайдбара на нормальном уровне. Возможно какой-то глюк в браузере, если в будущем найду в чем косяк обязательно починю, пока не могу сказать в чем проблема, извини.
6. Насчет счетчика подумаю,
для того чтоб добавить “обновлено” открываешь “template-parts/content.php” (желательно в дочерней теме) и добавляешь
Обновлено: <?php the_modified_date(); ?>
Hi, Sam
Basically iframe it’s a part of another site in your page, you can’t fully affect on it
all settings are provided by developers of your book reading soft, probably you will find some answers in their documentationalso in your case you can add to your custom css
iframe { max-height: 100vw; }
so it will be little bit more handy for your visitors
Forum: Themes and Templates
In reply to: [Ghost Lite] Some bugs&problems1. Clean page template – это специальный шаблон под конструктор страниц (под elementor)
2.,3. в чем отличие по цветам и на каких страницах шире экрана, не очень понял
4. надпись “Открыть сайдбар” – это переключатель, чтоб его открыть
5. в wordpress есть функция the_modified_date() – она возвращает дату последнего обновления
6. счетчик не планировал, но если хочешь, его можно сделать с помощью плагина advanced custom fields, добавляешь в шаблон статьи$meta_value = get_field($meta_key); $meta_value++; update_post_meta( get_the_ID(), $meta_key, $meta_value );
где вместо $meta_key название ключа таким образом при каждом посещении счетчик будет увеличиваться, вывести его можно при помощт the_field($meta_key);
7. за выделение отвечает::-moz-selection { color: #fff; background-color: red; } ::selection { color: #fff; background-color: red; }
цвет подставь любой
- This reply was modified 5 years ago by Nik Smalin.
- This reply was modified 5 years ago by Nik Smalin.
Hello!
unfortunately, it’s not allowed to add some hard coded widgets in sidebar area, but if you need one of those, you can do it in your child theme and this changes will not disappear after next update, just copy sidebar.php into your child theme folder and add your code, if you will need help with it let me know
Best Regards!
Hi!
add this to your custom css
iframe { max-width: 100%; }
It should help
Good luck!
Forum: Themes and Templates
In reply to: [Ghost Lite] Some bugs&problemsэто происходит из-за строк, которые не переносятся и соответственно расширяют контейнер, тема тут не при чем ??
добавь в стили csspre { white-space: normal; }
(нажимаешь “Настроить” -> “Дополнительные стили”)
тогда строки будут переноситься и все будет красивоУдачи с твоими сетями! ??
Hi
I don’t understand what you mean
do you need to output catogories list in recent posts list?Forum: Themes and Templates
In reply to: [Ghost Lite] Some bugs&problemsI will fix ol list in future update, just for now add this in your custom css
ol { padding-left: 21px; }
give some link to posts that are 2 times wider so I can see it, probably you have some plugins or some extra css code that affecting on it, because when I tested it all pages worked fine
Forum: Themes and Templates
In reply to: [Ghost Lite] Posts thumbnail and categories in sidebarWright now i’m not planning to implement such kind of functionality, but there is a function, that can help you
<?php the_category(', '); ?>
file, that output recent post with images is “inc/widgets/ghost-lite-resent-posts.php” (65 – 84 line of code)
if you need bigger image, change the_post_thumbnail(‘thumbnail’) to the_post_thumbnail(‘medium’)Regards !
Forum: Themes and Templates
In reply to: [Ghost Lite] Posts thumbnail and categories in sidebarBy the way
your comment form doesn’t display in correct way, I will fix it in upcoming update, but wright now add this code to your custom css
.article__container .comments-area .comment-notes { width: 100%; }
- This reply was modified 5 years, 1 month ago by Nik Smalin.
Forum: Themes and Templates
In reply to: [Ghost Lite] Posts thumbnail and categories in sidebarHi, Sam
you have widget in your widget list called “Ghost recent Posts” it outputs posts with thumbnails
you can place it in first position of “Main sideber area”, than category list and you will have recent posts with category list in first screen (if I’ve wright understood you)Regards!
Hi, actually you can!
You have to change class of articles container from “article__container list” to “article__container flx”, better way to do this – using child theme.
Files you need: search.php, index.php and archive.php, wright now it’s 18’th line of code in it.Good luck!
- This reply was modified 5 years, 1 month ago by Nik Smalin.
- This reply was modified 5 years, 1 month ago by Nik Smalin.
Forum: Reviews
In reply to: [Ghost Lite] good themeThank you for your review