- This topic has 17 replies, 2 voices, and was last updated 7 years, 12 months ago by Antoon.
-
AuthorPosts
-
April 19, 2016 at 9:28 pm #89940AntoonParticipant
Hello,
Iam trying to make a order menu with wppizza and the evolution theme.
i have a border around the menu items. how can i remove this?And when i use a table, how can i get the white space between to cells smaller?
April 20, 2016 at 10:40 am #89973MaheshKeymaster@antoon: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
.wppizza-article.hentry { border: medium none; }
Can you please clarify more on this?:
when i use a table, how can i get the white space between to cells smaller?Regards,
MaheshApril 20, 2016 at 2:34 pm #89987AntoonParticipantThanks Mahesh,
I have added a table to :
http://antoonockers.hol.es/test-menu/
i want have a smaller space between for example Kippen soep and champignons soep.
And how can i get it centered?Thanks for the support
April 20, 2016 at 3:44 pm #89991MaheshKeymaster@antoon: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
.entry-content td { padding: 0; text-align: center; }
Regards,
MaheshApril 20, 2016 at 4:19 pm #90002AntoonParticipantThanks again Mahesh,
The table is now centered but i want the left side to be aligned to the left,
is this possible?and what about the white space between the items, do you have a css for this to?
Thanks again for the support
April 21, 2016 at 9:36 am #90051MaheshKeymaster@antoon: Please add the following CSS:
1. Left side to be aligned to the left.entry-content td:nth-child(1) { padding: 0; text-align: left; } .entry-content td:nth-child(2) { padding: 0; text-align: center; }
2. White space between the items
.entry-content td { line-height: 1; }
Regards,
MaheshApril 21, 2016 at 2:14 pm #90069AntoonParticipantThanks again Mahesh,
i can’t get above css codes to work.
what can i do?April 21, 2016 at 3:44 pm #90072MaheshKeymaster@antoon: What seems to be the problem? You don’t have the code in the Custom CSS, have you removed it?
Regards,
MaheshApril 21, 2016 at 3:50 pm #90073AntoonParticipantbecause it didn’t work, i had delete the code form CSS.
i have placed them back so you can see, that it isn’t working.Regards,
Antoon
April 21, 2016 at 4:02 pm #90074MaheshKeymaster@antoon: Sorry, you mean to align the text to left in center, I thought you just want to align them to the left. Following code will work for that, but as you have the Menu title also inside the table, it’ll move title to too.
.entry-content td:nth-child(1) { padding: 0 0 0 140px; text-align: left; }
Regards,
MaheshApril 21, 2016 at 4:10 pm #90075AntoonParticipantThe code above is working, thanks for that!!!
But the White space between the items code is doing nothing.
must i add : :nth-child(1) to it?Regards,
AntoonApril 21, 2016 at 4:18 pm #90076MaheshKeymaster@antoon: Nope, its working fine. Try removing it and check the difference (you’ll see small space change). I guess there is no other options.
Regards,
MaheshApril 21, 2016 at 4:56 pm #90084AntoonParticipantI see no difference when i use the code or not,
only when i change the 1 to 2 or 10 i see a change.
But i see when i add line-height: 18px: to this line in HTML:
<table style=”height: 249px;” border=”0″ width=”491″ align=”center”>the white space is getting smaller.
Thanks again
Regards,
AntoonApril 25, 2016 at 12:12 am #90315AntoonParticipantThanks again for the support.
I have a new question:
How can i get a table the same in responsive en normal mode?
Regards,
Antoon
April 25, 2016 at 10:05 am #90329MaheshKeymaster@antoon: Replace the above CSS
.entry-content td:nth-child(1) { padding: 0 0 0 140px; text-align: left; }
with this one.
.entry-content td:nth-child(1) { padding: 0 0 0 20%; text-align: left; }
Note: Changing px to % helps to display table the same in both responsive and normal mode.
Hope this helps. Let me know if any trouble.Regards,
MaheshApril 25, 2016 at 4:12 pm #90368AntoonParticipant@mahesh: Thanks it works.
Do you know a fix for this:
if i make a gallery with 2 pictures the white border is smaller.
And if i make a gallery with 3 pictures the white border is bigger.
i want to have them both small if it is possible.Thanks again for the support.
Regards,
Antoon
April 25, 2016 at 4:57 pm #90369MaheshKeymaster@antoon: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
#content .gallery-columns-3 .gallery-item img { padding: 6px !important; }
Regards,
MaheshApril 25, 2016 at 5:03 pm #90371 -
AuthorPosts
- The topic ‘Border’ is closed to new replies.