Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
BVCH

Text alignment in specific image card

Question

Hi

I'm having trouble getting the text to align to the right in a specific image card (only want it to align differently in 2 specific image cards and not the rest on our site).

I've tried google and using this code:

#block-yui_3_17_2_1_1582748351695_31923 {
  text-align: right !important;
}

I could really use help on solving this issue :-) 

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 0

Can you share link to an image card on your site? I can give the code.


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0
/* Pre training */
div#block-yui_3_17_2_1_1582748351695_26632 * {
    text-align: right;
}
/* Get certificated */
div#block-yui_3_17_2_1_1582748351695_39158 * {
    text-align: right;
}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post
  • 0

Thanks a lot!

I can see I was missing the "*" sign in my css code

I previously had no problem coding blok specifics without the "*", but I will remember this going forward! 🙂 🙂 😄 

Share this post


Link to post
  • 0

*

means to target all elements that belong to that block id


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...