Osclass Support Forums
Osclass theme support => CareerJob Osclass Jobs Theme => Topic started by: Lucasdelton on November 01, 2020, 09:16:44 PM
-
Hi, I bought the carereerjob template on your website but it doesn't show ads in the mobile version and even on the desktop it doesn't show places:
Banner Item Description
Banner Search List
Please ask them to check my site: https://emprego.classmega.ao/
-
@Lucasdelton
Theme does not show latest items at all:
https://careerjob.mb-themes.com/
You create block for latest here using loop-single.php
-
I am referring to banner ads for adsense it does not display in the mobile version
-
Add this to your style.css:
.banner-theme.not767 {display:block!Important;}
Banners are hidden on mobile by default on all the themes
-
thanks. I already added it and it is working, but there is still a small problem the second ad in the search list it does not appear
-
2nd ad in search list does not appear? can you send link?
-
https://emprego.classmega.ao/search
and Banner Item Description, also does not show the adsense ad
-
Add this to your style.css:
.banner-theme.not767 {display:block!Important;}
Banners are hidden on mobile by default on all the themes
I can see that all listings are shown on search page, even 2nd one.
-
I'm referring to the banner for adsense
-
@Lucasdelton
I have not found any such banner on your site.
Note that not all banners may be put directly into theme, some of them are as placeholders, sometimes for future development, sometimes for users to allow do them their mods.
Go to search_gallery.php in theme folder.
Bellow following line:
<?php careerjob_draw_item($c, 'gallery'); ?>
Put following code:
<?php if($c == 2) { ?>
<?php echo careerjob_banner('search_list'); ?>
<?php } ?>
-
it's just missing Banner Item Description
-
Let me check that
-
Hi, I didn't get any more feedback from you
-
Sorry for delay, open your item.php and find line:
<?php if(careerjob_field_education($item_extra) <> '' || careerjob_field_education($item_extra) <> '') { ?>
above this line add:
<?php echo careerjob_banner('item_description'); ?>
I think it's best position for this banner.
I would also update style.css, line .banner-theme.banner-item_description .... having margin bottom of 20px instead of 0 there
-
the ad already appears but cuts on the side, just like Banner Search Bottom.
-
@Lucasdelton
Make sure to properly format the ad (float, display, margin, padding, ...)