Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Custom style only being applied to first line of text.


  #1  
Old Jul 10, 2011, 05:32 AM
mickocd
 
18 posts · Jul 2011
Hi. Thanks for a great theme and a great forum.
I'm halfway through a site, but I've hit a snag.

I can't get CSS inserts to change anything other than the first line of text in a given paragraph of the centre column.

I have made custom <h8> tags and a custom class as per the HOWTO: make a custom text style on post/page sticky but neither work properly other than on the first line of text. How do I get it to apply to all the text I span?

Cheers,
Mick
  #2  
Old Jul 10, 2011, 07:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What version of atahualpa and wp?
Have you applied the patches for the release? (new versions & updates forum)
What is the URL pointing to the issue?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 10, 2011, 04:23 PM
mickocd
 
18 posts · Jul 2011
Just upgraged to Atahualpa 3.6.7 and Wordpress 3.2 this morning. Patches not yet applied - none seemed relevant at first glance.

Here's a link to a page.
http://www.northbondirsl.com.au/publ...ts/?page_id=28

The first paragraph of large text reading "everyday at sunset" etc is an image, the second beginning "North Bondi RSL" is actual text where the span is applied only working on the first line.

I've also picked up about 10px padding at the top and bottom of the centre column above and below my rounded corners images since the update. How did that happen?

Cheers,
Mick.
  #4  
Old Jul 10, 2011, 04:30 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Please apply the patches and test again
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jul 10, 2011, 04:48 PM
mickocd
 
18 posts · Jul 2011
Ok, all applied. No change.
  #6  
Old Jul 10, 2011, 06:33 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
looking at the source of the page I see
1) a <a..> where the </a> is after a </h1><h1> It needs to be befort the </h1>
2) a </h9> but no <h9>
3) no <h8>'s anywhere
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Jul 10, 2011, 07:35 PM
mickocd
 
18 posts · Jul 2011
Ok, I cleaned it up and got rid of the links. I took the <h8> <h9> tags out too. No change
  #8  
Old Jul 10, 2011, 08:38 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
How about just using the WP visual editor, highlight the text you want to change and then use the editor to make the font size and other changes?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Jul 10, 2011, 09:33 PM
mickocd
 
18 posts · Jul 2011
lol. Thanks. I never thought to use the visual editor. It fixed it up nicely.
All my previous sites (not done one for a while) I've handcoded in Dreamweaver.

Last thing I need to do on this page is get rid of the padding of the centre column top and bottom which wasnt there before I updated this morning. I have the rounded corner images wrapped in a custom h1 tag with no padding.
h1 { font-size: 0px; line-height: 0; margin-top: 0px; padding-top: 0px; margin-bottom: 0px;}
  #10  
Old Jul 11, 2011, 03:22 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
This is where you need to learn how t use FireBug in FireFox. If you examine the page with it, you will see the padding is set on the <img...> not the <h1>. the actual selector is '.post img.size-full' so go and look at ato->Style IMAGES and see what you have.

btw, on your beach cam page, you are missing an image at the top and you have the line

Where on earth is our cam? Click here for a link to our location in Google Maps

but there is nothing to click
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Aug 2, 2011 at 04:34 AM.
  #11  
Old Jul 11, 2011, 06:36 AM
mickocd
 
18 posts · Jul 2011
Thanks, Ill get into firebug and work it out. edit - great - fixed with a css insert
Still plenty of work to go on the site, but managed to get three pages (Bistro History and What's on) looking something like.
This is the best $10 I ever spent I'll certainly be throwing some more $$$ your way when this sites done.

Last edited by mickocd; Jul 11, 2011 at 06:44 AM.
  #12  
Old Aug 2, 2011, 02:29 AM
mickocd
 
18 posts · Jul 2011
I have done plenty of work on this site over the last couple of weeks and I'm really happy with the way it turned out but I need some help with the finishing touches. I have spent plenty of hours trying to figure out a couple of points so I figured it's time to call in the pros, then donate.

Same versions of WP 3.2.1 and 3.6.7 of Ata. theme

Since adding an adsense widget on the cam page http://www.northbondirsl.com.au/publ...ts/?page_id=26 last night I have picked up padding on the top and bottom of the centre column on all pages (see image 2). I removed the adsense widget which didn't fix it. I then removed all the widgets but I'm still left with the padding??? Restoring earlier version of the page didn't work either. How do I get rid of it?

Second question, how do pad the adsense widget out? (See image 2)

I want to add 85px to "td id"left" as in the image. I had no problems styling other elements with help from firebug after figuring out how to use it, but I cant work out how to locate these deeper elements which are not controlled by ATO or I can span in the visual editor.

Cheers,
Mick.

Last edited by juggledad; Aug 31, 2011 at 03:38 PM.
  #13  
Old Aug 2, 2011, 04:46 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
1) The 'padding' in the center top and bottom is caused be a <br /> that you have at the beginning and end of the page

2) you can style the left sidebar in the options ato->Style & configure SIDEBARS->LEFT sidebar style
any styling there will apply to the entire left sidebar
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #14  
Old Aug 2, 2011, 05:50 AM
mickocd
 
18 posts · Jul 2011
Quote:
Originally Posted by juggledad
1) The 'padding' in the center top and bottom is caused be a <br /> that you have at the beginning and end of the page
Weird, I can't see them in the wordpress html editor at all. I can see the bottom ones in the browser source, but not the top ones. Could they have been parsed in somehow when I was adding the widget? and how do I get rid of them if I cant see them?

Here's what I see:

<h1><img class="alignnone size-full wp-image-434" title="FACILITIES_TopCorners" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_Panel_TopCorners_v2.jpg" alt="" width="747" height="25" /></h1>
<h1><img class="alignnone size-full wp-image-451" title="FACILITIES_TITLES_MAINBAR_v3" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_TITLES_MAINBAR_v3.jpg" alt="" width="747" height="116" /></h1>
<p style="padding-left: 33px; padding-right: 33px;">The North Bondi RSL has plenty to offer. The club is equipped with a great bar, serviced by friendly and capable staff, who want to make your visit enjoyable and relaxing. We have a large stage to accommodate Live bands and DJ’s who perform on Saturdays and Sundays, so come on in and enjoy the great local atmosphere! We have seating indoors and outdoors on the balcony with arguably some of the best views in Sydney! So sit back, relax and take it all in! Click on the images (below) to see the club.</p>
<p>[nggallery id=1]<br /><img class="alignnone size-full wp-image-458" title="BISTRO_v3" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_TITLES_BISTRO_v31.jpg" alt="" width="747" height="44" /><img class="alignleft size-full wp-image-518" style="border-left-width: 0px; margin-left: 33px; padding-right: 15px; padding-top: 15px; padding-bottom: 15px;" title="FACILITIES_bistro" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_bistro1.jpg" alt="" width="298" height="230" /></p>
<p style="padding-left: 30px; padding-right: 30px;">Our delicious Bistro can cater for any kind of occasion, whether it be a business lunch meeting or family dinner celebration you are guaranteed to be covered for all types of taste. Lunch and dinner served throughout the day. To find out more see our BISTRO section.</p>
<h1><img class="alignnone size-full wp-image-455" title="TABcorp" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_TITLES_TAB_v3.jpg" alt="" width="747" height="44" /></h1>
<p style="padding-right: 33px; padding-left: 33px;"><img class="alignleft size-full wp-image-519" style="padding-bottom: 20px; padding-right: 10px;" title="FACILITIES_tab" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_tab.jpg" alt="" width="298" height="230" />Our club also features a fully equipped TAB and Gaming area available to members and their guests. </p>
<h1><img class="alignnone size-full wp-image-488" title="FACILITIES_Panel_BaseCorners_v2" src="http://www.northbondirsl.com.au/public_html/Newrats/wp-content/uploads/2011/04/FACILITIES_Panel_BaseCorners_v2.jpg" alt="" width="747" height="25" /></h1>
  #15  
Old Aug 2, 2011, 06:03 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
You won't see the br tags but just take out any blank lines at the top and bottom of the post in the HTML editor.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #16  
Old Aug 2, 2011, 06:15 AM
mickocd
 
18 posts · Jul 2011
There are none.
  #17  
Old Aug 2, 2011, 08:01 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Are you using any seo plugins? If so shut it off and take a look again.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #18  
Old Aug 2, 2011, 04:23 PM
mickocd
 
18 posts · Jul 2011
It was the adsense widget. I deactivated it and replaced it with another one. All good now.
Sidebars styled and the site is looking sweet.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: make a custom text style on post/page pakacil Center area post/pages 24 Jul 18, 2011 05:53 AM
[SOLVED] Extra Horizontal Line at Top of Post - What style or setting is creating thi mobius55 Center area post/pages 3 Nov 10, 2010 02:39 PM
[SOLVED] How to change style/font size to comment status/counter line? margi Comments, trackbacks & pings 4 Dec 30, 2009 02:03 PM


All times are GMT -6. The time now is 04:19 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.