-
AuthorPosts
-
June 9, 2015 at 4:01 pm #456776
Hi,
Right now I am on OS X, it just happens in Chrome and Safari, not in Firefox, so I guess it must be related to Webkit. It happens with Enfold’s default styling:
ul.disc, .entry-content-wrapper ul { list-style: disc outside; }
But the issue goes away if I change to:
ul.disc, .entry-content-wrapper ul { list-style: disc inside; }
Thanks.
Regards,
Diego- This topic was modified 9 years, 5 months ago by p_castro.
June 10, 2015 at 12:13 am #456952HI,
As I have not received any response yet I am not quite sure if I made clear what I need, perhaps my previous comment was a bit confusing.
The point is that I need to keep Enfold’s default styling
list-style: disc outside;
Employing
list-style: disc inside;
is not a solution for me, I mentioned it just in case it helps to understand what is going on.So please, does anybody have a solution to solve the issue?
Thanks.
Best Regards,
Diego
June 10, 2015 at 12:24 am #456956This reply has been marked as private.June 10, 2015 at 5:25 pm #457395Hi!
Maintenance mode is active. Can you please disable it or post temporary logins so we can see the issue?
Cheers!
YigitJune 10, 2015 at 5:30 pm #457401Hi!
Maintenance mode deactivated.
Cheers!
June 10, 2015 at 5:35 pm #457409Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.avia-webkit ul.disc,.avia-webkit .entry-content-wrapper ul { list-style: disc inside; }
Best regards,
YigitJune 10, 2015 at 5:49 pm #457426Hi!
I am afraid that piece of code does not solve the issue, as I want the second and subsequent lines of the list items to be indented, which by the way is the default styling of Enfold for lists, I mean, the key of all this is to keep the style
list-style-position: outside;
but working properly in the webkit browsers ;-)Thanks!
Best Regards,
DiegoJune 11, 2015 at 6:16 pm #457952Hi,
I needed this to be solved ASAP so I have been debugging it myself.
The origin of the problem
I have found out that the problem is caused by ENFOLD’s separator shortcode (default), when it is placed before de list, then the marker (bullet point) of the first list item gets misaligned (in webkit browsers like Chrome (OS X) and Safari).The reason why this is happening is because of ENFOLD’s class .hr and its property float: left;
Possible Solutions
I came out with two solutions. I haven’t had the time to thoroughly test them in order to detect some possible undesirable secondary effects, so I would like to ask Kriesi’s team to do it as I am worried about harming other elements of the theme like navigation menus or other types of separators.Solution 1
main ul, main ol { clear: left; }
Solution 2
.hr { float: none; }
In case you want to reproduce the issue here you have the code I used on my page:
[av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello'] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul>
Please, can someone confirm the best solution in order to minimize the possible adverse effects in other elements of the theme?
Thanks!
Best Regards
Diego- This reply was modified 9 years, 5 months ago by p_castro.
June 11, 2015 at 6:22 pm #457957This reply has been marked as private.June 13, 2015 at 12:00 pm #458741This reply has been marked as private.June 16, 2015 at 1:28 pm #460019Hey!
please have in mind, that we usually have a weekend as well and use to work from monday till friday for you, as written in our support policy (support shedule). Please refuse from bumping into your own thread, because otherwise it gets behind in our queue and marked as “answered”, so we can’t provide a faster reply for you.
When I use the same shortcodes as you provided here, then the same thing is happening for me. But you are missing the [av_textblock] element, so use this shortcodes instead:
[av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello'] [av_textblock size='' font_color='' color=''] [av_textblock] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul> [/av_textblock]
This way it’s working fine for me.
Best regards,
AndyJune 17, 2015 at 1:02 am #460505Hey Andy,
First of all, I’d like to say I deeply respect the great work that Kriesi’s team is doing in terms of both, development and support. I also apologize if my previous private message felt a bit harsh.
Thanks for taking the time to explain your support policy, in fact I had already read it so I was not expecting your team to give me an answer on the weekend.
I bumped into my own thread because it had been almost 24 hours since I had reported the issue and I saw that other threads, posted much later than mine, had already been answered, so I thought that I had not properly explained the issue thus I tried to make some clarifications. Maybe, in order not to get behind in your queue I should have edited my first post, instead of adding a new one, is that correct?
I hope you understand that I, like other users, work with tight deadlines and, although I know Kriesi’s support team does not have any obligation to give an answer within any timeframe, I do expect being answered within 24 hours, specially when much newer threads have already been responded. I understand that there are threads easier/quicker to answer and of course I’m not trying to tell Kriesi’s team how to deal with the forum. I just want to let you know my personal situation, which I believe must have a lot in common with some other users.
I appreciate you tested the shortcode I provided but I have to disagree with your remark “you are missing the [av_textblock]”. It is true that the way you have employed the [av_hr] shortcode outside the [av_textblock] shortcode makes the issue go away but it should work fine also the way I did it, which is having the [av_hr] shortcode inside the [av_textblock] shortcode. Please, let me elaborate. I am using the ‘Advanced Layout Editor’ (‘Avia Layout Builder’) so when I insert a ‘Text Block’ and edit it using the ‘Visual Editor’, then I get the option of inserting a few Enfold shortcodes, including the ‘Separator/ Whitespace’ shortcode, see here, that means that the theme is explicitly giving the option of inserting the separator shortcode inside the ‘Text Block’ and that is what is causing the issue.
By the way, I have the impression that the shortcode you provided has a duplicated [av_textblock] opening tag, see here.
Here you have the complete shortcode that is causing the issue:
[av_textblock size='' font_color='' color='' custom_class=''] [av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class=''] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul> [/av_textblock]
If now we are on the same page I would greatly appreciate if you could have a look at the two possible solutions I provided here and let me know if they could possibly cause any adverse effects in other elements of the theme, or perhaps you could propose a better fix.
Thank you.
Best Regards,
DiegoJune 19, 2015 at 10:41 am #461774Hi!
we are trying our best as a support team. If people are writing a lot, it will need more time to read and understand the issue. That’s why some answers get a quicker reply and for others we need more time. If you are in a hurry feel free to hire a freelancer for the job.
You are right, it’s best to not make any changes in your thread, to get a faster reply.
Thanks for a possible solution you have provided, but it’s not an option for us, because it is working as expected:
The problem is that you are first calling a text block element and then calling a separator element. Obvious that things get messed up :). So please make sure to first call the separator element and then the text block:[av_hr class='default' height='50' shadow='no-shadow' position='center' custom_border='av-border-thin' custom_width='50px' custom_border_color='' custom_margin_top='30px' custom_margin_bottom='30px' icon_select='yes' custom_icon_color='' icon='ue808' font='entypo-fontello' custom_class=''] [av_textblock size='' font_color='' color='' custom_class=''] <ul> <li>Measures:</li> <li>Materials:</li> <li>Dyes:</li> <li>Condition:</li> </ul> [/av_textblock]
I hope this make things clear :).
Cheers!
Andy- This reply was modified 9 years, 5 months ago by Andy.
June 19, 2015 at 3:40 pm #461991Hi Andy,
By saying:
it is working as expected:
and
The problem is that you are first calling a text block element and then calling a separator element. Obvious that things get messed up
are you implying that Enfold’s users should never use the shortcode generator present on the Visual Editor when using the ‘Advanced Layout Editor’ (‘Avia Layout Builder’)? Really :)?
In one word, are you saying that I am doing something wrong when I am simply using an element present in Enfold’s UI (shortcode generator)?
Sorry but If that shortcode does not work properly nested within the Text Block shortcode then, please, remove it from the shortcode generator, do not offer it misleading the user. BTW is this incompatibility explained in Enfold’s documentation?
Thank you.
Best Regards,
Diego- This reply was modified 9 years, 5 months ago by p_castro.
June 21, 2015 at 12:33 pm #462330Hey!
I’m sorry for the confusion. You can actually use the separator or hr element inside a text block. The solution you provided above seems to have fixed this weird issue. I tested it on my installation plus this code which seems to have the same effect:
.entry-content-wrapper div li:first-child { clear: both; }
The fix will be included on the next update. Thanks.
Cheers!
IsmaelJune 22, 2015 at 4:55 pm #462923Hey!
Thank you Ismael for putting the matter to rest. At last, in this thread, a member of Kriesi’s team gives a considered and thoughtful response.
I think I’ll use your solution instead of mine because it is more specific, so less likely to cause undesirable secondary effects in other elements of the theme.
Cheers!
DiegoJune 23, 2015 at 9:01 am #463182 -
AuthorPosts
- The topic ‘First list item in an unordered list displays disc on the right’ is closed to new replies.