Support

Home Forums Event Espresso Premium I am using events in RTL

I am using events in RTL

Posted: January 20, 2021 at 10:03 am

Viewing 40 reply threads


inholyland

January 20, 2021 at 10:03 am

events in RTL mode are not shown correctly they need to be right justified
even in mobile mode, the attendees reg form disappears

where can i correct this

https://engineeringforkids.ps/events/testevent/


Tony

  • Support Staff

January 20, 2021 at 2:30 pm

Hi there,

Looking over the registration form it looks like the text is already right-aligned, have you already fixed this or am I missing a section?


inholyland

January 20, 2021 at 3:21 pm

on the contrary..it is left aligned 🙂
the headers of the form and the contents of the form are all left aligned

also the dates of the event are coming in the middle

and when i click on REGISTER,,, the same form is left aligned
https://engineeringforkids.ps/registration-checkout/?uts=1611181098#checkout

And in Step 2 as well in Payment option it is left aligned


Tony

  • Support Staff

January 21, 2021 at 6:40 am

Ah, apologies! That was me being simply blind to it.

To fix the ticket selector you can use:

.tkt-slctr-tbl,
.tkt-slctr-tbl .jst-left,
.tkt-slctr-tbl .jst-cntr {
    text-align: right!important;
}

For single page checkout:

#ee-single-page-checkout-dv, 
#ee-single-page-checkout-dv .jst-left,
#ee-single-page-checkout-dv .jst-cntr,
#ee-single-page-checkout-dv table {
    text-align: right!important;
}

Add those to Appearance -> Customize -> Additional CSS.

If that doesn’t fix them all please do let me know.


inholyland

January 21, 2021 at 7:55 am

This reply has been marked as private.


inholyland

January 21, 2021 at 8:13 am

sorry.. also u missed the event Dates .. its towards the middle
https://engineeringforkids.ps/classes/%d8%a7%d9%84%d8%b1%d9%88%d8%a8%d9%88%d8%aa%d8%a7%d8%aa-lego-robotics-ev3/


Tony

  • Support Staff

January 21, 2021 at 8:31 am

1 Attendee Information » 2 Payment Options

Does this work:

#ee-single-page-checkout-dv .spco-step-arrow-dv,
.spco-step-display-dv {
    float: right;
}

The event dates are floated left but text-aligned right, so for that we’ll need something like:

.ee-clearfix .ee-event-datetimes-li {
    float: right;
}

2. Some of the texts are still in English from where to translate?

Some of them will be within the admin, others you’ll need to PO/MO files to change.

For example ‘Registration Checkout’ displayed to the top if the title of the page, so go to Dashboard -> Pages.

Search for Registration Checkout there and you can alter the title of the page.

We don’t have many strings translated into Arabic but you’ll find them on our GlotPress project here:

https://translate.eventespresso.com/projects/event-espresso-4/ar/event-espresso-ar/

We have some documentation on how to use those here:

https://eventespresso.com/wiki/how-to-translate-event-espresso/

For #3 we currently do not have the capacity to undertake custom work at this time, we recommend the folks at codeable or there are some other developers who are familiar with Event Espresso listed HERE.


inholyland

January 21, 2021 at 9:56 am

Perfect many thanks all worked fine

The UPCOMING tag is on the right which comes before the Arabic text (doesn’t look good).. needs to go left to other side
https://engineeringforkids.ps/classes/%d8%a7%d9%84%d9%87%d9%86%d8%af%d8%b3%d8%a9-%d8%a7%d9%84%d9%85%d9%8a%d9%83%d8%a7%d9%86%d9%8a%d9%83%d9%8a%d8%a9/?

Is there a chance that the [show details +] stop making it show

I must say u have a great software and better support.. and actually deserve the yearly support for such prompt quick helpful solvable responses


Tony

  • Support Staff

January 21, 2021 at 10:05 am

The UPCOMING tag is on the right which comes before the Arabic text (doesn’t look good).. needs to go left to other side

Does floating it left work for you?

.entry-title .ee-status.event-active-status-DTU {
    float: left;
}

Is there a chance that the [show details +] stop making it show

Just remove the show details section completely?

If so, then yes, we have an option for it.

Go to Event Espresso -> Events -> Templates (tab)

Find the ‘Ticket Selector Template Settings’ section and set the ‘Show Ticket Details?’ option to no, then save.

I must say u have a great software and better support.. and actually deserve the yearly support for such prompt quick helpful solvable responses

Thank you for the feedback, much appreciated 🙂


inholyland

January 21, 2021 at 10:20 am

Worked all perfect…

maybe to post these for RTL incase someone needing them…. thanks………

.tkt-slctr-tbl,
.tkt-slctr-tbl .jst-left,
.tkt-slctr-tbl .jst-cntr {
text-align: right!important;
}

#ee-single-page-checkout-dv,

#ee-single-page-checkout-dv .jst-left,

#ee-single-page-checkout-dv .jst-cntr,

#ee-single-page-checkout-dv table {
text-align: right!important;
}

#ee-single-page-checkout-dv .spco-step-arrow-dv,
.spco-step-display-dv {
float: right;
}

.entry-title .ee-status.event-active-status-DTU {
float: left;
}

.ee-clearfix .ee-event-datetimes-li {
float: right;
}


inholyland

January 21, 2021 at 11:26 am

1. The bellow should change the REGISTER NOW! to text in alt. If correct.. it doesnt
[ESPRESSO_GRID_TEMPLATE limit=4 alt_button_text=”أنقر للتفاصيل”]

pls check
https://engineeringforkids.ps/

2. also is their a way to make these images clearer when they become smaller


Tony

  • Support Staff

January 22, 2021 at 4:09 am

1. The bellow should change the REGISTER NOW! to text in alt. If correct.. it doesnt
[ESPRESSO_GRID_TEMPLATE limit=4 alt_button_text=”أنقر للتفاصيل”]

alt_button_text is for when you are using an alternative registration page (and external site for your registrations) on the event, the default for that output would be ‘View Details’.

To change the ‘Register now’ text use button_text:

[ESPRESSO_GRID_TEMPLATE limit=4 alt_button_text="أنقر للتفاصيل"]

2. also is their a way to make these images clearer when they become smaller

The grid template uses the thumbnail size for your site, which by default is 150px by 150px and then sets the height and width to 200px by 200px.

So you have 2 choice, either you can use some CSS to set the grid template to use the native image size:

.ee_grid_box_v2 img {
    width: 150px;
    height: 150px;
}

Or, alter the template to use a larger image in place of the thumbnail which will then use the 200px by 200px default and look clear. I can add some details on how to do that if needed?


inholyland

January 23, 2021 at 2:42 pm

Or, alter the template to use a larger image in place of the thumbnail which will then use the 200px by 200px default and look clear. I can add some details on how to do that if needed?

yes please…


Tony

  • Support Staff

January 25, 2021 at 6:55 am

Event Espresso will search your themes root directory for some of it’s templates before using the default, so if you place a copy of the template there and make changes, that template will be used.

So, copy /wp-content/plugins/eea-events-grid-view-template/templates/espresso-grid-template.template.php into the root directory of your theme (preferably a child theme).

Around line 27 should be:

$feature_image_url = $post->EE_Event->feature_image_url();

Change that to something like:

$feature_image_url = $post->EE_Event->feature_image_url('small');

Which should load the ‘small’ version of the image in question as long as your theme (or another plugin) hasn’t removed those sizes.


inholyland

January 25, 2021 at 7:31 am

Good morning…also
i will be using the table views to display the list of courses as in https://engineeringforkids.ps/%d8%a7%d9%84%d8%a8%d8%b1%d8%a7%d9%85%d8%ac-%d8%a7%d9%84%d8%ad%d8%b6%d9%88%d8%b1%d9%8a%d8%a9/

1. the texts are left justified.. i need it to go to right please

thanks


Tony

  • Support Staff

January 25, 2021 at 8:51 am

Good Morning.

This should fix the table view:

#ee_filter_table,
.footable > thead > tr > th,
.footable > tbody > tr > td {
    text-align: right!important;
}


inholyland

January 26, 2021 at 11:22 am

hi again

how can i make the cell contents that has image and course name align to TOP
because in mobile view … the cells become thin and the image becomes further down
thanks


Tony

  • Support Staff

January 27, 2021 at 3:34 am

You can use something like this:

#ee_filter_table .event_title {
    vertical-align: top;
}


inholyland

January 27, 2021 at 3:13 pm

i am close to not asking questions 🙂

why the images i added to courses seems like cut.. not displaying in full?
https://engineeringforkids.ps/classes/%d8%a7%d9%84%d8%b3%d9%85%d8%a7%d8%a1-%d9%84%d9%8a%d8%b3%d8%aa-%d8%a7%d9%84%d8%ad%d8%af%d9%88%d8%af/

https://engineeringforkids.ps/classes/%d8%a7%d9%84%d8%a8%d8%b1%d9%85%d8%ac%d8%a9-%d8%a8%d9%84%d8%ba%d8%a9-%d8%b3%d9%83%d8%b1%d8%a7%d8%aa%d8%b4/

2. how can i center these image courses
https://engineeringforkids.ps/

thanks


Tony

  • Support Staff

January 28, 2021 at 3:49 am

why the images i added to courses seems like cut.. not displaying in full?

The images are being cropped and that is controlled by your theme rather than Event Espresso. EE is calling up the feature image and the image provided has been cropped to fit.

Take a look here: https://www.elegantthemes.com/blog/divi-resources/the-ultimate-guide-to-using-images-within-divi

2. how can i center these image courses
https://engineeringforkids.ps/

Only on the home page?

If you mean like this: https://monosnap.com/file/KRGu4G7QadN08KTfEkDZkNx1iE5Pwa

Then you can use something like:

.ee_grid_box_v2 {
    float: none;
    display: inline-block;
}


inholyland

January 28, 2021 at 12:30 pm

Great thanks

What is the best way in ur opinion to ADD a FAQ to the COURSE PAGE?


Tony

  • Support Staff

January 28, 2021 at 2:06 pm

My apologies but what do you mean by the course page? The single event page?


inholyland

January 28, 2021 at 2:12 pm

thank u

here
https://engineeringforkids.ps/classes/the-sky-is-not-the-limit/

Parents need to have a FAQ section for each course which should be in this page

Also if can a well in this page through editor or something have TABS so that data is easily presented for example tab for Course description, Curriculum, etc,,


Tony

  • Support Staff

January 29, 2021 at 4:11 am

We don’t have an option to include tabs etc, but your theme likely does.

If you are looking to customize the output of the single events page (other than including the FAQ in the event description) you’ll likely need to alter the template files used for outputting EE events and for that you’ll need some custom work from a developer familiar with Divi.


inholyland

January 31, 2021 at 2:47 pm

ok thanks…

one other thing…

when viewing https://engineeringforkids.ps/online-courses/ in mobile
the table where the contents of the courses table looks thin. And there is margin to right and left.. can i reduce this marginn


Tony

  • Support Staff

February 1, 2021 at 5:32 am

Sure, I’m guessing you only want to reduce the margin on mobile?

You can use something like:

#ee_filter_table tr td {
    padding: 3px;
}

If you only want to change the padding on mobile, use something like:

@media only screen and (max-width: 600px) {
    #ee_filter_table tr td {
        padding: 3px;
    }
}


inholyland

February 1, 2021 at 5:47 am

thanks

but nothing has changed 🙂
nor site nor mobile 🙁


Tony

  • Support Staff

February 1, 2021 at 8:00 am

Where are you adding that CSS?

It loads on this page:

https://engineeringforkids.ps/

But not on:

https://engineeringforkids.ps/online-courses/

Try clearing any caches you have.


inholyland

February 1, 2021 at 1:55 pm

all is good thanks

how can i make dates appear as dd/mm/yyyy


inholyland

February 1, 2021 at 2:00 pm

disregard last message…solved thanks


inholyland

February 2, 2021 at 6:07 am

hi

regarding the cropping of images in the event.. u told me it is the Divi theme that does that
people on internet said there is a work around to insert bellow code in functions.php
i did that but it didnt work .. maybe we need to tell it not to crop in events
see if need to add something to code

// Begin stop cropping featured image in Divi Portfolio + Blog + Gallery

function ld_stop_crop_image_width($width) {
return 9999;
}

add_filter( ‘et_pb_portfolio_image_width’,’ld_stop_crop_image_width’ );
add_filter( ‘et_pb_gallery_image_width’,’ld_stop_crop_image_width’ );
add_filter( ‘et_pb_blog_image_width’, ‘ld_stop_crop_image_width’ );

function ld_stop_crop_image_height($height) {
return 9999;
}

add_filter( ‘et_pb_portfolio_image_height’,’ld_stop_crop_image_height’ );
add_filter( ‘et_pb_gallery_image_height’,’ld_stop_crop_image_height’ );
add_filter( ‘et_pb_blog_image_height’, ‘ld_stop_crop_image_height’ );

// End stop cropping featured image in Divi Portfolio + Blog + Gallery


Tony

  • Support Staff

February 2, 2021 at 8:33 am

When you say it didn’t work, have you added a new image with the above code in place?

I haven’t used Divi in a while now, but if I recall correctly, the above will only work for images you upload after that code has been added.


inholyland

February 2, 2021 at 9:21 am

ya i tried adding images again but it is still cropping

i thought it didnt work because we need to add event espresso name to line like
et_pb_gallery_image_height’,’ld_stop_crop_image_height’ );

in any case its ok.. i will search internet for solutions

2. is there something i can connect my events to facebook/instagram?


Tony

  • Support Staff

February 2, 2021 at 9:29 am

ya i tried adding images again but it is still cropping

i thought it didnt work because we need to add event espresso name to line like
et_pb_gallery_image_height’,’ld_stop_crop_image_height’ );

Ah, ok. No, it does not need to be connected to Event Espresso in any way, the images are controlled by Divi.

2. is there something i can connect my events to facebook/instagram?

Currently, the only social media integrations we have are available within this add-on:

https://eventespresso.com/product/eea-events-social-sharing/


inholyland

February 2, 2021 at 2:20 pm

regarding croping for divi theme
can be solved by

/wp-content/themes/Divi/single.php

Put
the_post_thumbnail( ‘full’ ); code on line 73
and comment
code on line 72 in single.php file of above path.


inholyland

February 2, 2021 at 2:22 pm

i have courses that are in the form of recorded videos
they dont have start or end date
is there a way that i do not display dates for such courses?


Tony

  • Support Staff

February 3, 2021 at 2:56 am

regarding croping for divi theme

If you are going to do that I recommend you set up a child theme for Divi as the next time you update you’ll lose the above change.

See: https://www.elegantthemes.com/blog/divi-resources/divi-child-theme

i have courses that are in the form of recorded videos
they dont have start or end date
is there a way that i do not display dates for such courses?

Event Espresso requires a data is set within the event but what you can do is set that date to something far in the future and then hide the dates on shown on the front end of the site for those events.

Can you link me to one of the events so I can take a look?


inholyland

February 3, 2021 at 3:11 am

yes child theme..but i didnt know how to do that 🙂

https://engineeringforkids.ps/recorded-programs/

How to hide??


inholyland

February 3, 2021 at 6:21 am

can i c events based on a venue? Listing events in a specific venue?


Tony

  • Support Staff

February 4, 2021 at 4:19 am

How to hide??

So is it all events in the flex_courses* categories?

If so then for the table on the page you can use:

tr[class*="flex_courses"] .ee-table-view-datetime-list {
    display: none;
}

Then on the events themselves:

.single-espresso_events article[class*="flex_courses"] .event-datetimes {
    display: none;
}

That CSS hides the datetimes for ALL events in categories where the slug contains ‘flex_courses’.

can i c events based on a venue? Listing events in a specific venue?

Not by default, but we do have a snippet that can include an event list on the single venue pages.

For example, this page: https://engineeringforkids.ps/venues/flex-programs/

https://gist.github.com/joshfeck/0622e324fb3729880f67

Or for more details, this one:

https://gist.github.com/joshfeck/0622e324fb3729880f67


inholyland

February 5, 2021 at 8:52 am

thank youuuuuuuuuuuuuuuuuuuuu

in the course page like here
https://engineeringforkids.ps/classes/virtual-kodu-kart-racing/
is there a way that in this page appears related courses or courses at the end or on the right margin

Viewing 40 reply threads

The support post ‘I am using events in RTL’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso