-
AuthorPosts
-
April 25, 2016 at 3:47 am #620941
Hi there –
I’m having some problems getting the avia 3 colum shortcode to display in one of my custom classes.
Please see the gold ‘Other Services’ section in the middle of the page
The page of the content needs to be slightly narrower than the full width of the site (which is 1024px)
So this is what I’ve done using the layout builder
1 added a 1/1 column module with a class of sd-body which contrains anything in it to the narrower width I need (see the white part of the page above – this uses the same)
2 – then I’ve dropped a text block into this column, and I’ve added a class of sd-services-box which makes the whole background that gold colour
3 – then because I need to split the content over three rows – I’ve copied and pasted the 3 column shortcode into the text module
[av_one_third first]INTRODUCING DMK AND SKIN CONSULTATION
DMK ENZYME THERAPY
SKIN PEELS
DMK SPA FACIALS
DMK BODY TREATMENT[/av_one_third][av_one_third]MASSAGE, SPA BODY& PACKAGES
MICRODERMABRASION
ALKALINE HAIR REMOVAL
MANICURE & PEDICARE
ACRYLIC NAILS
MAKE-UP[/av_one_third][av_one_third]SPRAY TANS
WAXING & SUGARING
ELECTROLYSIS
LASHES & BROWS
EAR PIERCING
IPL & INJECTABLE[/av_one_third]however as you can see it’s not displaying properly
– i’ve tried added ‘clear:both’ to the sd-services-box – this didn’t work
– I tried adding this to a code block and it worked until I added my custom classcan you please advise how to fix this or if there is a better way to achieve this?
cheers
April 27, 2016 at 5:51 am #622729Hi Team – any news on this one? Cheers
April 27, 2016 at 6:34 am #622753Hi!
Thanks for getting in touch with us and sorry for the delay.
Could you please provide a link and login details to your site, so that we can have a closer look. You can place the information in the Private Content section of your reply.
Cheers!
JordanApril 27, 2016 at 7:20 am #622788okay thanks – details below
April 28, 2016 at 8:24 am #623512Hi Team – any news on this one?
April 29, 2016 at 3:58 am #624097Hi Team – I have to show this to the client so I’ve added a workaround in the meantime and have added a fixed height to the class I created
.sd-services-box{
height: 350px
}This isn’t ideal as it’s not responsive and if we add more content we’ll have to update the CSS – so any clues as to how to get it work would be great.
ThanksApril 29, 2016 at 2:30 pm #624488Hi,
refrain from bumping into your own thread, as it pushes it behind in our queue and marks it as answered and then we can’t provide a faster reply to you.
I checked your website and your “Other Service” section, but I can’t see any issue. Can you highlight what’s going on using screenshots please? or could you fix it already?
Please use imgur.com or dropbox.Best regards,
AndyMay 2, 2016 at 4:56 am #625430Hi Andy – apologies, I was merely letting you know that I hadn’t found a solution but had provided a work around as I had to show my client – and I didn’t want to confuse which it obviously did – please have a look at my messages above yours… it explains in detail what the issue is.,….but as you weren’t the original person to respond I will recap….
here is the page I’m referring to
http://www.sasi-skin.com/site/services/
1 – I need one of the sections on this page to display like this – see the screenshot – have a look at the gold section at the bottom of the page..
https://www.dropbox.com/s/w47x3iqwns5qmat/Screen%20Shot%202016-05-02%20at%2012.43.50%20pm.png?dl=0.the issue is when I add content to this text section – the background doesnt’ maintain the same height as the content does –
https://www.dropbox.com/s/i156a6flbtigxdf/Sasi%20Skin%20Spa%20%20%20Services-site.png?dl=02 – to achieve the styling for this module in the theme I did the following – please note all the main parts of the this page need to be narrower than the 1024px width set out in the theme settings – this is due to the design…
a) I added a 1/1 column module with a class of sd-body which forces anything in it to the narrower width I need to fit the design (see the white part of the page above – this uses the same)
b – then I’ve dropped a text block into this column, and I’ve added a class of sd-services-box which makes the whole background that gold colour. This all was looking fine until I needed to add a 3 column layout. Once I did this – the background of the content doesn’t
b – so to split the content over three rows – I’ve copied and pasted the 3 column shortcode into the text module
[av_one_third first]INTRODUCING DMK AND SKIN CONSULTATION
DMK ENZYME THERAPY
SKIN PEELS
DMK SPA FACIALS
DMK BODY TREATMENT[/av_one_third][av_one_third]MASSAGE, SPA BODY& PACKAGES
MICRODERMABRASION
ALKALINE HAIR REMOVAL
MANICURE & PEDICARE
ACRYLIC NAILS
MAKE-UP[/av_one_third][av_one_third]SPRAY TANS
WAXING & SUGARING
ELECTROLYSIS
LASHES & BROWS
EAR PIERCING
IPL & INJECTABLE[/av_one_third]however this breaks the layout – see this screenshot – the background doesn’t expand to the height of the content
https://www.dropbox.com/s/i156a6flbtigxdf/Sasi%20Skin%20Spa%20%20%20Services-site.png?dl=0
– i’ve tried added ‘clear:both’ to the sd-services-box – this didn’t work
– I tried adding this to a code block but this isn’t very user friendly for the client to update
– when I used the code block – this layout broke when I added my custom class of sd-services-box
– I added ‘height:350px; to my class and it expanded to a good height, but doesn’t work responsively – but this was a quick workaround for when the client looks at the site – I’ve removed this now so you can see the issue.So my guess is I need to add something to my class in order for it to work with the content?
I’ve included logins above – please let me know if you need any further info
May 3, 2016 at 1:15 pm #626397Hi,
please open different tickets for different question.
1.) Use this code in Quick CSS field:
.sd-services-box { padding-bottom: 240px; }
and adjust as needed.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.