unwanted space on event pages

If you are planning to organize any conference or festival, there are many ways to get help via our forum.
GK User
Wed Feb 25, 2015 8:28 pm
i have some white space in the middle of event pages although i have content and pictures placed at the top of the page on dashboard. what creates this space before the content on the page:http://itef.kalemkultur.com/?page_id=237
plus it exists on the pages that come in the demo content. for instance i didnt change anything on the content area on this page: http://itef.kalemkultur.com/?page_id=137

also, how can i get rid of the social media icons placed just under the headline on the event pages? or should i ask this in another post?
User avatar
Senior Boarder

GK User
Wed Feb 25, 2015 10:52 pm
If you want to remove social icons, please go to Appearance -> Customize -> Features section and uncheck "Event Page Social Icons" option.

Regarding the space - I'm not sure which space, under the featured image? Could you take a screenshot and mark this area?
User avatar
Moderator

GK User
Thu Feb 26, 2015 8:34 am
i marked the area with black box, see the attachment please...
User avatar
Senior Boarder

GK User
Thu Feb 26, 2015 8:40 am
when i bugged this page, it seems that there is a white picture on the top. but there is nothing on the dashboard...
User avatar
Senior Boarder

GK User
Thu Feb 26, 2015 4:34 pm
This gray space is a picture (featured image), all images are replaced into blank/gray ones in theme packages. Please edit this page and change featured image.
http://www.wpbeginner.com/beginners-gui ... wordpress/
User avatar
Moderator

GK User
Fri Mar 06, 2015 6:45 pm
regarding the social icons on event pages.... my boss wanted to keep twitter and facebook but not google plus... so how can i get rid of just the last one and keep the two?
User avatar
Senior Boarder

GK User
Mon Mar 09, 2015 9:21 am
Hi,

Please edit Events/content-header.php file and remove this fragment:
Code: Select all
<div class="entry-gplus-button">
         <div class="g-plusone" data-size="tall"></div>
         <?php
               $lang = explode('-', get_bloginfo('language'));
            $lang = $lang[0];
            ?>
         <script type="text/javascript">                             
         window.___gcfg = {lang: '<?php echo $lang; ?>'};
         
         (function() {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/platform.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
         })();
         </script>
      </div>
      
      <?php do_action('events_after_gplus_icon'); ?>
User avatar
Moderator

GK User
Tue Mar 10, 2015 9:11 am
i removed those codes and on the file when i searched the word 'gplus' on the file nothing comes up. but the gplus icon is still there:http://itef.kalemkultur.com/?page_id=111
User avatar
Senior Boarder

GK User
Tue Mar 10, 2015 9:25 am
i cleared history before i check it in different browsers
User avatar
Senior Boarder

GK User
Tue Mar 10, 2015 11:01 am
Send me a PM with FTP access, then I'll be able to check the issue.
User avatar
Moderator

GK User
Wed Mar 11, 2015 8:31 am
If you want to remove the icon from Events pages, please remove this fragment from template.event.php file (it's already done in your file).
User avatar
Moderator

GK User
Wed Mar 11, 2015 9:02 am
yes that was my intention, thank you for fixing it and also mentioning the solution here.
User avatar
Senior Boarder

GK User
Mon Mar 30, 2015 9:51 pm
there is one more issue about the featured images in the event pages. when a featured image is added to an event page it becomes like a little box/square on the frontpage, on the events calendar page (here the red one:http://itef.kalemkultur.com/)thanks to the shortcodes. but when clicked on one of the events, on the event page the featured image appears just in the middle in big size (like the one here:http://itef.kalemkultur.com/?page_id=2267). so just for the event pages, is it possible to get rid of this big featured image on the events page but to keep it like a little box on the events calendar page (i mean the page under the frontpage with those little boxes...)?
User avatar
Senior Boarder

GK User
Tue Mar 31, 2015 8:24 am
Yes, it's possible, try to add the following code into your css/override.css file:
Code: Select all
.event-page .entry-thumbnail img {
    max-width: none;
    width: auto;
}
User avatar
Moderator

GK User
Fri Apr 03, 2015 4:52 pm
I added the code but i still have the picture on the event page.... here is how override.css file looks after added the above code:

/**
*
* -------------------------------------------
* Custom CSS changes
* -------------------------------------------
*
**/

/* Here you can put your CSS modifications using the Child Theme */
#gk-header-mod {
background-size: cover;
}

.event-page .entry-thumbnail img {
max-width: none;
width: auto;
}

here is an example page: http://itef.kalemkultur.com/?page_id=3010

after adding the code i also readded the featured image but it didnt help. so what was my wrong step?
User avatar
Senior Boarder

GK User
Mon Apr 06, 2015 6:35 am
maybe i can change some codes on template.event.php or style.css to get rid of the big picture on event pages? well, inside template.event.php there are some codes containing similar words with the one you gave but i do not know where to change and how to chnage.....
User avatar
Senior Boarder

GK User
Tue Apr 07, 2015 8:55 am
Hi,

but this code works properly, please check your event:
http://itef.kalemkultur.com/?page_id=2267

now the image depends on the uploded image size,

on this page:
http://itef.kalemkultur.com/?page_id=3010
the image is much bigger.
User avatar
Moderator

GK User
Tue Apr 07, 2015 6:53 pm
well, i see now. the code you send does not enlarge the image i use. but keeps it as it is on the event page. so, there isnt a way to get rid of it, right? i mean from the event page
User avatar
Senior Boarder

GK User
Tue Apr 07, 2015 9:49 pm
I'm not sure if i understand, so you want to remove this image completely?
http://itef.kalemkultur.com/?page_id=3010

it's enough to edit this page and remove featured image.
User avatar
Moderator

GK User
Fri Apr 10, 2015 9:26 pm
no actually. after thinking on it, i realized that the thing i want is a little bit unlogical.... so i will go with the code you send. thanks for it..... i guess it is not possible to place the featured image into the center of the page or align the text somehow?
User avatar
Senior Boarder

GK User
Mon Apr 13, 2015 8:04 am
Image have to be in first place, but you can center it horizontally by adding the following css code:
Code: Select all
.entry-thumbnail {
   text-align: center;
}
User avatar
Moderator

GK User
Mon Apr 13, 2015 8:31 am
image in the center is better, thanks a lot for the code....
User avatar
Senior Boarder


cron