Tagged: Advanced Styling, button, CSS
-
AuthorPosts
-
April 25, 2018 at 12:06 am #946293
Hi,
I am a beginner who is creating self page, just to inform that I am not expert in CSS or other things. With this theme it is going really well and I like it. Especially I like it way more after the update :)
Anyway I got a problem with a custom button styling for the button row element. I am not using any DEMO, however I have inspired myself of your new made “Enfold elegant portfolio” demo footer. I would like to use those circled buttons which are in the footer as buttons. I have copied custom advanced styling from this DEMO which is in “Advanced styling -> Buttons”. I have set Border radius to 100px, Border width and opacity to 1px and full-transparent. The same is set in Advanced styling of this new demo. Then I have set the same parameters in Button row element settings which is not different from the element settings in DEMO.
So I did same Advanced settings for Buttons and I did same settings in the Button row element and it still does not work. It still shows big button with rounded corners and small icon in the middle of the button with a big space on left and right side.
I know it could be pretty easy issue to solve but I would be really grateful if you could help me. I want to use Button row element in my footer with circled buttons (follow me in my social networks) as is done in your theme DEMO. Which settings have I missed or what more should I do?
Thank you a lot.
Best regards,
Jakub.April 27, 2018 at 4:17 am #947582Hey katak97,
Thank you for using Enfold. Glad to hear that it’s going well.
Would you mind if we take a look at the test page? That is the button row element with omitted Button Label. Use this css code to make it round.
#top #wrap_all .avia-slideshow-button, #top .avia-button, .html_elegant-blog .more-link, .avia-slideshow-arrows a:before, #top .av-menu-button > a .avia-menu-text { border-radius: 100px; }
Best regards,
IsmaelApril 28, 2018 at 9:15 am #948292This reply has been marked as private.April 28, 2018 at 12:53 pm #948343Hi,
Please add the CSS to Enfold > General Styling > Quick CSS at the bottom
If you have already added the code here please refresh the page cache.
Check the Performance tab and disable merging and refresh the page and enable it back.
If you are using any caching plugin please empty cache from the plugin settings.Best regards,
VinayMay 3, 2018 at 2:34 pm #950799Hi Guys,
I also wanted to do this but as the .avia-button class is included in that code it effects the buttons globally so you cannot set a radius on your standard site buttons. I’ve tried all kinds of ways to specifically effect only those button row buttons but I can’t figure it out… need your GENIUS on this one if possible please.
May 4, 2018 at 2:56 pm #951708Hi,
Apply a unique css class attribute to the button row element. Append it to the default button selector above. Example.
#top .custom-css-class .avia-button { border-radius: 100px; }
You can enable the custom css class field in the Enfold > Layout Builder panel.
Best regards,
IsmaelMay 8, 2018 at 4:32 pm #953444Hey Ismael,
that works fine.
Thank You very much!!kind regards
TobiasMay 10, 2018 at 5:37 am #954291Hi Tobias,
Thanks for the feedback. Please let us know if you should need any further help on the topic.
Best regards,
RikardMay 11, 2018 at 9:40 am #955114I tried this, but the icons dont become a full circle. Could you maybe take a look please?
I used the CSS above in my Quick CSS.
May 11, 2018 at 9:49 am #955127I have the same problem: the buttons in the new button-row element are not a uniform size (round) even after implementation of the custom css as suggested above.
I would like them to look exactly as the demo referred to in the blogpost for Enfold 4.3.
- This reply was modified 6 years, 6 months ago by Hayek.
May 12, 2018 at 7:07 am #955567Hi jeroenvandessel,
I could only see nice circles on your site, did you manage to get it working? If not then please post screenshots of the problem and in which browser you are seeing it.
Best regards,
RikardMay 12, 2018 at 7:08 am #955568Hi Hayek,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardMay 14, 2018 at 12:26 pm #956395If it helps, I found I had to add a line-height to get them completely round… Aswell as the border-radius, I needed to add a line-height definition:-
If you are using MEDIUM SIZE BUTTON:-
border-radius: 100px;
line-height: 18px;If you are using LARGE SIZE BUTTON:-
border-radius: 100px;
line-height: 42px;May 15, 2018 at 7:00 am #956808March 4, 2020 at 11:54 am #1190002Hi,
I need transfor the border left of button in Arrow, it is possible with css?
Best Regards
March 4, 2020 at 7:42 pm #1190189Hi Partecipant,
Please start a separate thread, describe your issue there and give us a link to your website.
Could you please attach a mockup of what you’re trying to achieve?
Best regards,
VictoriaMarch 5, 2020 at 11:10 am #1190381HI,
the website is under construction, and here I can’t attach a image of my issue, I’m tring to build a new button with a border left arrow but i can’t…
could you help me?
March 5, 2020 at 8:43 pm #1190631Hi Partecipant,
You can upload screenshots to a service like Dropbox or http://imgur.com and give us the links here.
Best regards,
VictoriaSeptember 24, 2020 at 12:16 am #1248013Hello!
I’m having an issue with custom styling of my buttons and it not updating on my page.
Style notes for regular and hover include:
Border: 3px, black, 0px radius
Text: 16px, black, h4 font styling
Background: white
Hover Background: #f8f8f8The icons that I have set when hovered over are also getting cut off at the bottom and I’d like them larger in size.
I think it may be because I don’t have a child theme installed? Just the initial Enfold theme. I originally had a different theme that used WP-Bakery and it was such a pain that I started over and restarted my WP, wiping everything. When I tried to install the child theme, it wasn’t working (an error about duplicates or something) and I didn’t need to work off of a direct template anyway so I just moved forward with building my site.
September 25, 2020 at 1:12 pm #1248436Hi,
Thank you for the update.
Looks like you have managed to adjust most the style for the button. To prevent the icon from getting cut off at the bottom, we could add add this css code.
.av-icon-on-hover .avia_button_icon { overflow: visible; }
Please toggle or temporarily disable the Performance > File Compression settings after adding the code to see the changes immediately.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.